Syntax highlighting
Code blocks are highlighted at build time with syntect, so no JavaScript is involved and highlighting also works in single-file output. Colors follow the reader's light or dark mode.
"""First heading of every markdown file."""
return
for; do
done
Use the language's name or file extension after the fence (rust, py, sh and so on). A block with no language, or a language syntect doesn't know, is shown as plain text. The Syntax reference lists every supported language.