toolbox · format

Markdown

The plain-text format every Library page is written in.

What it is

Markdown is plain text with a few conventions for headings, lists, links, tables and code. It stays readable as text and converts cleanly to HTML.

How it works

  • # to ###### are headings, - starts a list, [text](url) is a link and fenced blocks (three backticks) hold code.
  • A file can start with front matter: a YAML block between --- lines. It is metadata, not Markdown, and Astro validates it against the collection schema.
  • Astro renders each entry’s Markdown to HTML at build time.

In this project

Library entries, Notes and Toolbox pages all live in sites/research/src/content/ as Markdown with front matter. The portfolio’s project data is JSON, not Markdown.

Gotchas

  • Front matter must be valid YAML. An unquoted colon in a title breaks it.
  • Do not repeat the page title as an # heading: the template already renders it.
  • Code fences are skipped by the placeholder check, so {{TOKENS}} in examples are safe.