MD
Content Tools

Markdown Formatting Reference

Markdown syntax reference for headings, emphasis, links, images, code blocks, tables, and extended features (GFM).

📄 Free PDF Download

Print-friendly · 1-2 pages · No sign-up required

Download PDF

Headings

Markdown Output
# H1 Heading 1 (largest)
## H2 Heading 2
### H3 Heading 3
#### H4 Heading 4
##### H5 Heading 5
###### H6 Heading 6 (smallest)

Emphasis & Formatting

Markdown Output Notes
**bold** or __bold__ bold Double asterisks or underscores
*italic* or _italic_ italic Single asterisks or underscores
***bold italic*** bold italic Triple asterisks
~~strikethrough~~ strikethrough GFM extension
`inline code` inline code Backtick
==highlight== highlight Some parsers only

Links & Images

[Link text](https://example.com)
[Link with title](https://example.com "Title")
[Reference link][id]
[id]: https://example.com

# Images
![Alt text](image.png)
![Alt text](image.png "Title")
[![Linked image](img.png)](https://example.com)

# Auto-link
<https://example.com>

Lists

# Unordered (-, *, + all work)
- Item 1
- Item 2
  - Nested item
    - Deeper nesting

# Ordered
1. First
2. Second
3. Third

# Task list (GFM)
- [x] Completed task
- [ ] Pending task
- [ ] Another pending

Code Blocks & Tables

```python
print('hello world')
```

# Indented (4 spaces)
    code block here

# Tables (GFM)
| Column 1 | Column 2 | Column 3 |
|----------|:--------:|---------:|
| Left     | Center   | Right    |
| data     | data     | data     |

# Alignment: : left  :both:  right:

Block Elements

> Blockquote text
>> Nested blockquote

---   (horizontal rule, also *** or ___)

<br> (line break)

<!-- HTML comment -->

\*escaped asterisk*  (backslash escapes)

Free Online Tools for Content Tools

Keep This Reference Handy

Download the PDF and keep it on your desk or share with your team.

Download Markdown Formatting Reference PDF