Markdown syntax
All Writer uses Milkdown with full CommonMark-style Markdown plus common extensions.
Headings
markdown
# H1 … ###### H6Headings appear in the outline panel.
Paragraphs and line breaks
Separate paragraphs with a blank line. For a line break inside a paragraph, end the line with two spaces or use a blank line between short lines.
Emphasis
markdown
*italic* **bold** ***bold italic***Lists
Unordered
markdown
- Item
- Item
- NestedOrdered
markdown
1. First
2. SecondLinks and images
markdown
[Link text](https://example.com)
Code
Inline `code` and fenced blocks with language:
markdown
```typescript
const x = 1;
```See Code highlighting.
Tables
markdown
| A | B |
|---|---|
| 1 | 2 |Task lists
markdown
- [ ] Todo
- [x] DoneBlockquotes
markdown
> Quoted textMath (KaTeX)
$inline$ and $$ block equations—see Math.
Diagrams (Mermaid)
Fenced code blocks with mermaid—see Diagrams.
Horizontal rule
markdown
---