Explore >> Select a destination


You are here

www.jayeless.net
| | logr.cogley.info
2.3 parsecs away

Travel
| | 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:
| | paul.totterman.name
5.0 parsecs away

Travel
| | Go includes a safe and somewhat performant templating library. But the best way to structure code using html/template has eluded me for a long time.
| | me.micahrl.com
2.0 parsecs away

Travel
| | All rituals restricted. All rites reserved.
| | levimcg.com
27.8 parsecs away

Travel
| Thinking about moving my site to a new platform with an actual CMS