# Unexpected code highlighting in code block

**URL:** <https://meta.discourse.org/t/unexpected-code-highlighting-in-code-block/182267>\
**Category:** Product Support\
**Created:** [March 6, 2021, 12:15am UTC](https://meta.discourse.org/t/unexpected-code-highlighting-in-code-block/182267 "2021-03-06T00:15:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [March 6, 2021, 1:02am UTC](https://meta.discourse.org/t/unexpected-code-highlighting-in-code-block/182267/4 "2021-03-06T01:02:50Z")

</div>

Dan, you also have the `default code lang` site setting, if you want all code blocks to default to text. I imagine that may be useful if you’re not running a coding forum.

---

_[View the full topic](https://meta.discourse.org/t/unexpected-code-highlighting-in-code-block/182267)._
