# 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:** 8

<div class="post-metadata">

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

</div>

It’s definitely not a good fit for the `highlight.js` styling model, as you probably want a different color for each codon. A custom theme component is much more appropriate here 🙂

---

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