# Can I highlight some text in a fenced code block?

**URL:** <https://meta.discourse.org/t/can-i-highlight-some-text-in-a-fenced-code-block/32022>\
**Category:** Product Support\
**Created:** [Agosto 12, 2015, 11:30am UTC](https://meta.discourse.org/t/can-i-highlight-some-text-in-a-fenced-code-block/32022 "2015-08-12T11:30:46Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Kristen](https://avatars.discourse-cdn.com/v4/letter/k/c4cdca/32.png) [@Kristen](https://meta.discourse.org/u/Kristen)\
**Post date:** [Agosto 12, 2015, 11:30am UTC](https://meta.discourse.org/t/can-i-highlight-some-text-in-a-fenced-code-block/32022/1 "2015-08-12T11:30:46Z")

</div>

In a Discourse forum for techies discussing code in a specific language I’d like to be able to highlight something in a code block. For example the O/P posts some, broken, code and I fix it up. The user has to carefully read my improved code to see what I have changed, and putting a comment in the code like:

xxx = yyy \<— I MADE A CHANGE HERE

is a bit lame!, particularly on a complex line.

I suppose, ideally, it would just be a background colour to highlight a section, but if it was possible to put some sort of [color=red] or similar tags into the code that would provide more facilities to people which more artistically then me!

---

_[View the full topic](https://meta.discourse.org/t/can-i-highlight-some-text-in-a-fenced-code-block/32022)._
