|
You are here |
legends2k.github.io | ||
| | | | |
www.markusdosch.com
|
|
| | | | | Personal Blog on Coding & Technology | |
| | | | |
rishikeshs.com
|
|
| | | | | How to properly configure Hugo's Chroma syntax highlighter to work with language hints in markdown code blocks. | |
| | | | |
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: | |
| | | | |
markus.oberlehner.net
|
|
| | | 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. | ||