Post typography: everything Markdown can do
A formatting cheat sheet. Headings, lists, quotes, tables, and code in one place.
This post exists so you can check formatting after style changes. The text includes links, bold, italic, and inline code.
Second-level heading
A paragraph after the heading. The line length is limited to the width of the sheet so the text is easy to read.
Third-level heading
A quote is marked by a line on the left and a muted color.
Lists
- A bulleted item.
- Another item.
- A numbered item.
- The next step.
Table
| Surface | Where it is used | Radius |
|---|---|---|
| Dark Chrome | Header | rounded-full |
| Light Sheet | Cards and the article | rounded-[28px] |
Code
export function readingMinutes(words: number): number {
return Math.max(1, Math.round(words / 180));
}
A horizontal rule separates the afterword from the main text.
