code

Code blocks, syntax highlighting and the copy button.

Code blocks

Hugo highlights code at build time with Chroma, so the page needs no JavaScript library for it. The site sets markup.highlight.noClasses: false: Chroma only adds CSS classes, and …