How to write a post (formatting guide)
A reference for every kind of formatting this blog supports. Keep it as a guide or delete it.
This is a sample post and a guide for you. Delete
src/content/posts/how-to-write-a-post.mdwhen you no longer need it.
Creating a new post
- Go to the folder
src/content/posts/. - Create a new file ending in
.md. Its name becomes the web address, somy-first-essay.mdis published at/posts/my-first-essay/. - Start the file with the settings block shown below, then write your post underneath it.
---
title: "The title of your post"
description: "One or two sentences shown on the front page and in search results."
date: 2026-12-01
section: law # must match a section slug in src/site.config.ts
tags: ["evidence", "procedure"]
featured: false # true pins the post to the large card on the front page
draft: false # true hides the post on the live site
---
Text formatting
You can write bold text, italic text, and links to other pages. Inline code uses backticks.
A quotation is written by starting a line with the “greater than” sign.
- Bulleted lists start with a dash
- like this
- and can be nested
- Numbered lists start with a number
- like this
Tables
| Column one | Column two |
|---|---|
| A cell | Another cell |
| A second row | More text |
Footnotes
You can add a footnote like this.1
The line of three dashes above draws a decorative break between parts of a post.
Footnotes
-
The footnote text appears at the bottom of the post. ↩