All notes

Sample note: hello world

A sample TIL that shows how notes work. Replace or delete it when you publish your first real note.

Sample note. This file only exists so the notes pages have something to render. Delete content/notes/2026-09-24-hello-world.md when you add your first real note.

Every note is a Markdown file in content/notes/. The file name is YYYY-MM-DD-slug.md, and the slug becomes the URL: this note lives at /notes/hello-world/.

Frontmatter

FieldRequiredWhat it does
titleyesThe note title
dateyesPublish date, YYYY-MM-DD
typeyeswrite-up or til
summaryyesOne sentence, used in lists and feeds
seriesnoGroups notes into a series ("Part n of m")
draftnotrue hides the note from the build

Code

const html = Bun.markdown.html(body, { headings: { ids: true } });