Styling/Formatting code blocks

Does anyone know how the code blocks on the getkirby site are generated? I know how to format text for code blocks, but they’re able to add additional styling to their code blocks via additional classes and span tags. I would love to do the same on my own site.

The Kirby website uses prism.js http://prismjs.com

1 Like