Markdown Syntax Cheat Sheet.
Every bit of Markdown syntax you’ll actually use — in one scannable page. Source on the left, rendered meaning on the right.
Cheat sheetMarkdownGFM
§ Headings
| What | Source | Renders as |
|---|---|---|
| H1 | # Heading | Heading (largest) |
| H2 | ## Heading | Heading |
| H3 | ### Heading | Heading |
| H4 | #### Heading | Heading |
§ Emphasis
| What | Source | Renders as |
|---|---|---|
| Bold | **text** | text (bold) |
| Italic | *text* | text (italic) |
| Bold + italic | ***text*** | text (bold italic) |
| Strikethrough | ~~text~~ | text (struck) |
§ Lists
| What | Source | Renders as |
|---|---|---|
| Unordered | - item - item | • item • item |
| Ordered | 1. item 2. item | 1. item 2. item |
| Nested | - item - nested | • item ◦ nested |
| Task list | - [x] done - [ ] todo | ☑ done ☐ todo |
§ Links & images
| What | Source | Renders as |
|---|---|---|
| Link | [text](https://example.com) | text → https://example.com |
| Image |  | (image with alt text) |
| Autolink | <https://example.com> | https://example.com |
| Reference | [text][id] [id]: https://example.com | text → https://example.com |
§ Code
| What | Source | Renders as |
|---|---|---|
| Inline | `const x = 1` | const x = 1 (mono) |
| Fenced block | ```ts code ``` | (monospace block with ts syntax) |
| Indented block | four spaces
code | (monospace block) |
§ Blockquotes
| What | Source | Renders as |
|---|---|---|
| Single | > quoted line | │ quoted line |
| Multi-line | > line one > line two | │ line one │ line two |
| Nested | > outer >> inner | │ outer ││ inner |
§ Tables (GFM)
| What | Source | Renders as |
|---|---|---|
| Basic | | A | B | |---|---| | 1 | 2 | | A | B 1 | 2 |
| Alignment | | L | C | R | |:--|:--:|--:| | left-/centre-/right-aligned columns |
§ Other
| What | Source | Renders as |
|---|---|---|
| Horizontal rule | --- | (a hairline divider) |
| Hard line break | line one line two | line one line two |
| HTML | <sup>2</sup> | raw HTML passes through |
Try it live
Paste Markdown into our previewer and watch it render in real time.
Missing a syntax you use? Email hi@wordinstant.com — we keep this page updated.