Markdown Cheat Sheet

A searchable reference of Markdown syntax for headings, emphasis, lists, links, tables, and code blocks.

Headings

# Heading 1Largest heading
## Heading 2Second-level heading
### Heading 3Third-level heading

Emphasis

**bold**Bold text
*italic*Italic text
~~strikethrough~~Strikethrough text
`inline code`Inline code

Lists

- ItemUnordered list item
1. ItemOrdered list item
- [ ] TaskUnchecked task box
- [x] TaskChecked task box

Links & images

[text](url)A hyperlink
![alt](url)An image
[text][ref]Reference-style link

Blocks

> quoteBlockquote
```lang\ncode\n```Fenced code block
---Horizontal rule

Tables

| A | B |\n|---|---|\n| 1 | 2 |A simple table
:---Left-align column
:---:Center-align column
---:Right-align column

Example input

table

Example output

| A | B |\n|---|---|