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.mdwhen 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
| Field | Required | What it does |
|---|---|---|
title | yes | The note title |
date | yes | Publish date, YYYY-MM-DD |
type | yes | write-up or til |
summary | yes | One sentence, used in lists and feeds |
series | no | Groups notes into a series ("Part n of m") |
draft | no | true hides the note from the build |
Code
const html = Bun.markdown.html(body, { headings: { ids: true } });