Markdown cheatsheet
A short tour of what Markdown gives you. Copy from here when you write a post.
This post has no translation, so it is a good place to see the fallback:
open /zh/blog/markdown-cheatsheet/ and you get this English text with a notice
on top.
Text
Bold, italic, inline code, and a link.
Lists
- First step
- Second step
- A nested point
- Another one
Code blocks
Add the language after the fence to get highlighting:
export function slugify(title: string): string { return title.toLowerCase().replace(/[^a-z0-9]+/g, '-');}Quotes and tables
Keep posts short. One idea per post reads better than one long post.
| Field | Purpose |
|---|---|
pubDate | Sort order on the blog index |
tags | Groups posts into tag pages |
Images
Put the file in public/images/blog/ first. Images are shared by all languages.

