5 Dec 2026 · 2 min read
Hello, world — and a guide to writing here
The first post on the new site, and a living reference for every kind of content a post can hold.
This is the first post on the redesigned site. It doubles as a reference: every block below is plain Markdown in the repository, rendered at build time. To publish something new, add a .md file to content/blog/ and push.
Writing a post#
A post is either a single file, content/blog/my-post.md, or a folder, content/blog/my-post/index.md, with its images, audio and video sitting right next to it. The folder name (or file name) becomes the URL.
Every post starts with a little front matter:
---
title: My new post
date: 2026-12-24
description: One line shown in the list and in link previews.
tags: [books, mountains]
cover: cover.jpg # optional, relative to the post folder
draft: true # optional, hides the post
---
Text#
Paragraphs, bold, italic, strikethrough, inline code, ⌘ + K, highlights, links and footnotes1 all work.
The mountains are calling and I must go.
— John Muir
Images#
Use the normal image syntax. A quoted title becomes the caption.

Video#
Point the image syntax at a video file (.mp4, .webm, .mov) and it becomes a player.
Audio#
The same works for audio (.mp3, .wav, .ogg, .m4a, .flac).
Embeds#
Paste a link on its own line from YouTube, Vimeo, Spotify, SoundCloud, CodePen, CodeSandbox, Loom or Google Maps and it turns into an embed.
Anything else can be embedded with raw HTML, such as an <iframe>.
Code#
Fenced code blocks are syntax highlighted and get a copy button.
type Post = { slug: string; title: string; date: string }
export function latest(posts: Post[], n = 3): Post[] {
return [...posts].sort((a, b) => b.date.localeCompare(a.date)).slice(0, n)
}
def fib(n: int) -> int:
a, b = 0, 1
for _ in range(n):
a, b = b, a + b
return a
Lists and tables#
- Read something good
- Climb something tall
- Write something true
- Redesign the site
- Write the second post
| Content | Syntax |
|---|---|
| Image |  |
| Video |  |
| Audio |  |
| Embed | a YouTube/Spotify/… URL on its own line |
And collapsible sections, via plain HTML
Hidden until you open it.
Thanks for reading.
Footnotes#
-
Like this one. ↩