 
      
    | You are here | 8yd.no | ||
| | | | | nikdoof.com | |
| | | | | Setting up Kiln for this site has been quite the adventure, i've been using Hugo for a few years and have grown accustomed to the way of working, ideally I would of continued using it for this site but getting Hugo to support Gemini markup is difficult at best. Kiln is in that sweet-spot of pure functionality and simplicity, keeping the key tools from other static site generators like Templates and link building, but using the in-built Go template language and a few extra actions to keep it simple. | |
| | | | | 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: | |
| | | | | www.jayeless.net | |
| | | | | I said the other day that I would figure out how to customise the syntax highlighting for the Nord theme?(external link), and now I have. If you want to grab the stylesheet for yourself, I've uploaded it as a snippet on GitLab?(external link). Some quick usage ... | |
| | | | | spf13.com | |
| | | |||