This sample post is intentionally a little strange so the blog builder has to exercise real Markdown parsing instead of happy-path prose.
Here is inline math, , mixed into a sentence with CJK text:你好,静态博客!
GFM checklist
- Preserve completed tasks.
- Preserve incomplete tasks with punctuation, emoji-free text, and Unicode: café, naïve, 東京.
- Keep relative links such as the classic page and an external reference.
Table with alignment
| Feature | Input | Expected rendering |
|---|---|---|
| Math | $a^2 + b^2 = c^2$ | KaTeX HTML |
| Image | ./assets/edge-diagram.svg | Relative media path |
| CJK | 段落中的中文 | Unicode-safe text |
Nested quote and list
A quoted note can contain structure.
First quoted bullet
- Ordered child with bold text
- Ordered child with
inline codeSecond quoted bullet
A nested quote should remain nested without flattening.
Code fence containing backticks
const markdown = `Use a fenced block:
```md
# Heading inside a template literal
- item
```
`;
console.log(markdown);
Relative image
Raw HTML that should remain safe after sanitizing: allowed emphasis and fixture span.