# 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:** [2015 年 8 月 12 日午前 11:30 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:** 4

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2016 年 2 月 25 日午前 1:02 UTC](https://meta.discourse.org/t/can-i-highlight-some-text-in-a-fenced-code-block/32022/4 "2016-02-25T01:02:19Z")

</div>

```diff
line 1
line 2
+line 3
-line 4
line 5

```

````
``` diff
line 1
line 2
+line 3
-line 4
line 5
```

````

---

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