Markdown Cheatsheet

A complete syntax reference for Markdown and GitHub-Flavored Markdown (GFM). Every snippet below is supported by our free Markdown to PDF converter.

Headings

Markdown
Rendered
# Heading 1

Heading 1

## Heading 2

Heading 2

### Heading 3

Heading 3

Emphasis

Markdown
Rendered
**bold text**
bold text
*italic text*
italic text
~~struck~~
struck
`code`
code

Lists

Markdown
Rendered
- item one
- item two
- item three
  • item one
  • item two
  • item three
1. first
2. second
3. third
  1. first
  2. second
  3. third

Links & Images

Markdown
Rendered
[link text](https://example.com)
![alt text](image.png)
[image renders here]

Code

Markdown
Rendered
```ts
const x = 1
```
const x = 1

Quotes & Rules

Markdown
Rendered
> quoted text
quoted text
---

Tables (GFM)

Markdown
Rendered
| Col A | Col B |
|-------|-------|
| a1    | b1    |
| a2    | b2    |
Col ACol B
a1b1
a2b2

Escaping

Markdown
Rendered
\*not italic\*
*not italic*

← Open the converter