# Syntax highlighting broken

**URL:** <https://discourse.gohugo.io/t/syntax-highlighting-broken/10862>\
**Category:** Uncategorized\
**Created:** [March 5, 2018, 1:06pm UTC](https://discourse.gohugo.io/t/syntax-highlighting-broken/10862 "2018-03-05T13:06:52Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![kaushalmodi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/kaushalmodi/32/2567_2.png) [@kaushalmodi](https://discourse.gohugo.io/u/kaushalmodi)\
**Post date:** [March 8, 2018, 2:31pm UTC](https://discourse.gohugo.io/t/syntax-highlighting-broken/10862/5 "2018-03-08T14:31:17Z")

</div>

> [@marcthedark](#):
>
> I found out that the results depend on the position of “pygmentscodefences = true” in the config.toml

Of course, toml is indentation agnostic, but very much position dependent.

```auto
foo = true
[bar]

```

is very different than:

```auto
[bar]
foo = true

```

Have a look at the TOML readme in its GitHub repo.

---

_[View the full topic](https://discourse.gohugo.io/t/syntax-highlighting-broken/10862)._
