by @jm3 · aka John Manoogian3

Frequent, bite-size mini-milestone updates as I fast-forward merge* my front-end web development skills up to 2019 levels. Learn more

Syntax Highlighting

Posted at — Jun 27, 2019
slippery merge

I removed the goofy generated syntax-highlighting classes that weren’t working anyways (because pygmentsUseClasses wasn’t set in Hugo’s config.toml), and instead switch to on-the-fly generated inline styles, which can be switched without eh extra steps of rebuilding the syntax css and checking it in.

Now the syntax highlighting on this blog is better than the syntax highlighting on the official Hugo Discourse forum!