Not what you are looking for, but if anyone sees this thread and goes to it looking for server side highlighting, I’ve been using GitHub - alecthomas/chroma: A general purpose syntax highlighter in pure Go · GitHub as a successor to pygments. Chroma comes with Hugo and is how https://adoptingerlang.org/ highlighting is done, originally this was overriden to use Pygments while a bug in Chroma for Erlang was fixed but now it works well.






















