Markdown Cheatsheet

A quick reference for all common Markdown syntax. Print this page and stick it by your desk.

Text Formatting

**bold**bold
*italic*italic
~~strikethrough~~strikethrough
`inline code`code
<u>underline</u>underline
***bold italic***bold italic

Links & Images

[Text](url)Link
[Text](url "title")Link with tooltip
![Alt](image.jpg)Image with alt text
[ref]: urlReference link def.
[text][ref]Reference link use

Headers

# Heading 1

Heading 1

## Heading 2

Heading 2

### Heading 3

Heading 3

#### Heading 4

Heading 4

Lists

- ItemUnordered bullet
* ItemUnordered bullet
+ ItemUnordered bullet
1. ItemOrdered number
- [ ] TaskUnchecked task
- [x] TaskChecked task
> QuoteBlockquote

Code

`inline`Inline code
```js
code block
```
indent codeIndented code

Tables (GFM)

| Col1 | Col2 |
|------|:-----|
| cell | cell |

Use :--- left, :--: center, ---: right align.

Structural

---Horizontal rule
***Horizontal rule
___Horizontal rule
> blockquoteBlockquote

GFM Extended

~~strikethrough~~strikethrough
- [x] doneCompleted task
- [ ] todoTask to do
[//]: # (id)Internal link anchor

Print Instructions

Press Ctrl+P (or Cmd+P on Mac) to print. Enable Background Graphics in your print dialog for best results.

Know someone who'd love this? Share the cheatsheet!