Explore >> Select a destination


You are here

trestletech.com
| | www.stevenhicks.me
6.1 parsecs away

Travel
| | Did you know your blog's syntax highlighter probably has support for highlighting code diffs? I didn't.
| | logr.cogley.info
7.9 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:
| | ideone.com
11.8 parsecs away

Travel
| | Compile various programming languages online. Add input stream, save output, add notes and tags.
| | jaspervdj.be
42.3 parsecs away

Travel
| Hakyll - A Static Site Generator in Haskell.