# How does auto Highlight all code works?

**URL:** <https://meta.discourse.org/t/how-does-auto-highlight-all-code-works/58368>\
**Category:** Product Support\
**Created:** [March 4, 2017, 9:07pm UTC](https://meta.discourse.org/t/how-does-auto-highlight-all-code-works/58368 "2017-03-04T21:07:29Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [March 4, 2017, 10:00pm UTC](https://meta.discourse.org/t/how-does-auto-highlight-all-code-works/58368/5 "2017-03-04T22:00:31Z")

</div>

IIRC, that setting is there so it will apply code formatting/highlighting to space indented code and fenced code blocks. On Meta, that setting is not enabled.

Space indented

```
if (true) {
  this_is_formatted = true;
}

```

Fenced code block

```plaintext
if (true) {
  this_is_formatted = true;
}

```

Where as on my sandbox with it enabled, I get

 ![](https://global.discourse-cdn.com/meta/original/3X/e/b/eb0467d773f2f799fbb56e92383017c630034350.png)

---

_[View the full topic](https://meta.discourse.org/t/how-does-auto-highlight-all-code-works/58368)._
