Explore >> Select a destination


You are here

legends2k.github.io
| | www.markusdosch.com
3.6 parsecs away

Travel
| | Personal Blog on Coding & Technology
| | rishikeshs.com
3.0 parsecs away

Travel
| | How to properly configure Hugo's Chroma syntax highlighter to work with language hints in markdown code blocks.
| | logr.cogley.info
4.2 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:
| | markus.oberlehner.net
25.4 parsecs away

Travel
| Learn how to use error boundaries in the Remix framework to prevent broken pages caused by client-side errors. Learn how to create custom error boundaries that ensure your progressive-enhanced web application remains functional, providing a superior user experience.