|
You are here |
www.jayeless.net | ||
| | | | |
8yd.no
|
|
| | | | | I'm fairly new to Hugo, but I've worked with my fair share of template languages to feel reasonably at home. Enough to both see familiar patterns, but also wonder "why have they done it like that?" A... | |
| | | | |
logr.cogley.info
|
|
| | | | | 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: 1 2 3 4 pygmentsOptions = "linenos=table" pygmentsCodeFences = "true" pygmentsCodefencesGuessSyntax = "true" pygmentsStyle = "tango" ... and to get it to work you just use a code fence (three backticks) specifying the language like: | |
| | | | |
me.micahrl.com
|
|
| | | | | All rituals restricted. All rites reserved. | |
| | | | |
lea.codes
|
|
| | | Sprinkle your JavaScript codebase with type annotations in JSDoc, run checks against it and auto-generate documentation. | ||