Code blocks are highlighted on the server, so pages load fast and colours work without JavaScript. Colours adapt to the light and dark themes.
Common language names
| Language | Fence name |
|---|---|
| Shell | bash, sh |
| JavaScript / TypeScript | js, ts |
| Go | go |
| Python | python |
| YAML / JSON | yaml, json |
| SQL | sql |
curl -s https://docs.example.com/sitemap.xml | head
site:
title: Example Docs
languages: [en, hi]
Unknown language names fall back to plain text, so a typo never breaks a page.