markdown

Writing in Markdown and how the theme renders it.

Code blocks

Hugo highlights code at build time with Chroma, so the page needs no JavaScript library for it. The site sets markup.highlight.noClasses: false: Chroma only adds CSS classes, and …

Images in a post

That is dem-thanh-pho.jpg (1600×900), stored in the same folder as the post. As the first image, right at the top, it is likely the largest thing on screen when the page appears, …

A Markdown tour

This post is a short walk through Markdown: each section uses one piece of syntax and shows how nocturne renders it. To compare with the source, follow the edit link at the end of …

Notes on Hugo and static sites

Hugo is a static site generator written in Go. Coming back to it after a long break, I found a fair amount had changed. These are personal notes, not a tutorial: the things I want …