Demo

Feature tours of the theme: Markdown, images, code blocks and shortcodes.

Hugo's built-in shortcodes

A shortcode is a small template you call from the middle of Markdown, written as {{< name params >}}. Hugo ships a set of them, and this post tries each one in turn. Every …

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 …