Reference

The complete markdown cheatsheet.

Every syntax rule that works in Markdown Writer, grouped by flavor — CommonMark, GitHub Flavored Markdown, and our own extensions for math, diagrams, and alert callouts.

CommonMark

Universal

The standardised baseline. Works in every markdown processor and is the foundation every other flavor builds on.

Headings

One # per level. Use one H1 per document.

markdown
# Heading 1
## Heading 2
### Heading 3
#### Heading 4

Heading 1

Heading 2

Heading 3

Heading 4

Bold & italic

Wrap text in asterisks. Combine for both.

markdown
*italic* and _italic_
**bold** and __bold__
***both*** and ___both___

italic and italic
bold and bold
both and both

Images

Same as links, with a leading exclamation mark.

markdown
![alt text](image.png)
![alt text](image.png "caption")
image.png

Lists

Hyphens or asterisks for bullets. Numbers for ordered.

markdown
- First
- Second
  - Nested
  - Nested

1. One
2. Two
  • First
  • Second
    • Nested
    • Nested
  1. One
  2. Two

Blockquote

Prefix lines with a greater-than sign.

markdown
> The clouds were doing
> that thing where they
> look painted on.
The clouds were doing that thing where they look painted on.

Inline code

Wrap with single backticks.

markdown
Run `pnpm install` to get started.

Run pnpm install to get started.

Fenced code blocks

Triple backticks. Optional language hint after the opener.

markdown
```
plain code
no highlighting
```
plain code
no highlighting

Horizontal rule

Three or more hyphens, asterisks, or underscores on a line.

markdown
Above the line.

---

Below the line.

Above the line.


Below the line.

GitHub Flavored

GFM

GitHub's superset. Markdown Writer supports the full GFM spec — tables, task lists, footnotes, autolinks, strikethrough.

Tables

Pipe-separated columns. The dash row sets alignment with optional colons.

markdown
| Feature      | Status | Notes        |
| ------------ | :----: | -----------: |
| Tables       |   ✓    |     GFM      |
| Task lists   |   ✓    |     GFM      |
| Math         |   ✓    |    KaTeX     |
FeatureStatusNotes
TablesGFM
Task listsGFM
MathKaTeX

Task lists

Bullets with bracketed checkboxes. Use x for checked.

markdown
- [x] Ship cheatsheet page
- [x] Add FAQ schema
- [ ] Submit to Product Hunt
- [ ] Land on page one
  • Ship cheatsheet page
  • Add FAQ schema
  • Submit to Product Hunt
  • Land on page one

Strikethrough

Wrap with two tildes.

markdown
~~deprecated~~ replaced by the new API.

deprecated replaced by the new API.

Highlighted code

Add a language hint after the opening fence.

markdown
```ts
const greet = (name: string) => `Hello, ${name}!`;
```
const greet = (name: string) => `Hello, ${name}!`;

Footnotes

Reference with [^id] in text and define elsewhere.

markdown
Markdown is portable[^1].

[^1]: Same source, every renderer.

Markdown is portable1.


  1. Same source, every renderer.

Extended

Markdown Writer

Extras Markdown Writer adds on top of GFM. Math, diagrams, and GitHub-style alert callouts — all rendered in the live preview.

Alert callouts

GitHub-style admonitions. Five types, all colour-coded.

markdown
> [!NOTE]
> Useful information users should know.

> [!TIP]
> Helpful advice for doing things better.

> [!WARNING]
> Critical content demanding immediate user attention.

Note

Useful information users should know.

Tip

Helpful advice for doing things better.

Warning

Critical content demanding immediate user attention.

Inline math

Wrap LaTeX in single dollar signs. Rendered with KaTeX.

markdown
Einstein's $E = mc^2$ holds in every frame.

Einstein's E = mc2 holds in every frame.

Block math

Double dollar signs surround a centered display equation.

markdown
$$
\int_0^\infty x^2 e^{-x} \,dx = 2
$$
0 x2 e-x dx = 2

Mermaid diagrams

Use a mermaid-tagged code fence. Renders as SVG.

markdown
```mermaid
graph LR
  A[Write] --> B[Preview]
  B --> C[Export]
```
WritePreviewExport

Try every syntax in the editor.

Live preview, syntax highlighting, math, diagrams, and PDF export — all in your browser, no sign-up.

Open the editor