RC Logr 20190301 082710
Friday, 1 Mar, 2019
Was pleasantly suprised at how easy it is to get syntax highlighting going in Hugo, since its inclusion of the fast Golang-based «Chroma» library, and even making it backward compatible with most pygments settings. My config.toml
contains the following:
|
|
… and to get it to work you just use a code fence (three backticks) specifying the language like:
|
|