Markdown cheat sheet: every syntax you need
Every Markdown syntax on one page — from bold text to tables — with a live editor to test each one as you read.
Basic syntax
| Element | Syntax |
|---|---|
| Heading | # H1 · ## H2 · ### H3 |
| Bold | **bold text** |
| Italic | *italic text* |
| Link | [title](https://example.com) |
| Image |  |
| Inline code | `code` |
| Blockquote | > quoted text |
| Horizontal rule | --- |
Lists and tasks
| Element | Syntax |
|---|---|
| Bullet list | - item (or * item) |
| Numbered list | 1. item |
| Nested item | - indented two spaces |
| Task list | - [ ] todo · - [x] done |
Code blocks and tables
Fence code blocks with three backticks, optionally naming the language for syntax highlighting (```js). Tables use pipes: a header row, a divider row of dashes, then data rows — | Col 1 | Col 2 | above |---|---|. Alignment colons in the divider row (:---, :---:, ---:) control left, center and right alignment.
Tools used in this guide
Related guides
Markdown cheat sheet: every syntax you need — FAQ
Wrap it in double asterisks: **like this**. Single asterisks give italic.