Formatting reference
Example post exercising every Markdown element the theme styles.
A second example post, kept mainly to check that the stylesheet handles every element a real article will use. Safe to delete.
Headings
Heading levels two through four are styled; a post should start at ## because
the post title already occupies the <h1>.
Third level
Fourth level
Text
Regular paragraph text with bold, italic, inline code, strikethrough,
and a link.
A blockquote, useful for pulling out a claim worth arguing with.
— someone, probably
Lists
Unordered:
- First item
- Second item
- A nested item
- Third item
Ordered:
- Understand the problem
- Write the smallest thing that could work
- Measure before optimizing
Code
Fenced blocks get syntax highlighting:
def fib(n: int) -> int:
a, b = 0, 1
for _ in range(n):
a, b = b, a + b
return a
A fence with no title= just shows its language:
kubectl -n blog rollout status deploy/blog --timeout=120s
Callouts
Two container directives, for the two things worth interrupting a paragraph for:
Table
| Component | Choice | Why |
|---|---|---|
| Generator | Astro | Markdown in git, no database |
| Server | nginx | Static files, nothing to exploit |
| Transport | Cloudflare | Outbound-only tunnel, no open ports |
Horizontal rule
That is the full set.