[Solved] What configuration is required to get syntax highlighting working?

I’ve read through the doc on Syntax Highlighting several times but haven’t gotten it to work. I’m wondering if I need to download Chroma as an external library or if I’m missing a basic settings in my config file.

Should the syntax {{< highlight html >}}(code in here){{< /highlight >}} work out of the box, or do I need to do something else? I’ve played with the various options listed on the doc page, but no luck so far. I’m sure I’m missing something obvious.

Got it. I needed up update Hugo from .26 to .28.

2 Likes