Back to Home

Markdown Cheat Sheet

A complete reference guide to Markdown syntax. Bookmark this page for quick access!

Headings

Markdown Result
# Heading 1

Heading 1

## Heading 2

Heading 2

### Heading 3

Heading 3

#### Heading 4

Heading 4

##### Heading 5
Heading 5
###### Heading 6
Heading 6

Emphasis (Bold, Italic, Strikethrough)

Markdown Result
**bold text** bold text
*italic text* italic text
***bold and italic*** bold and italic
~~strikethrough~~ strikethrough
__bold__ and _italic_ bold and italic

Lists

Markdown Result
- Item 1 - Item 2 - Item 3
  • Item 1
  • Item 2
  • Item 3
1. First 2. Second 3. Third
  1. First
  2. Second
  3. Third
- Parent - Child - Child - Parent
  • Parent
    • Child
    • Child
  • Parent
- [x] Completed task - [ ] Incomplete task
  • ☑ Completed task
  • ☐ Incomplete task

Images

Markdown Result
![Alt text](image.jpg) Image with alt text
![Alt text](image.jpg "Title") Image with title (tooltip)
[![Alt](img.jpg)](link) Clickable image (linked)

Code

Markdown Result
`inline code` inline code
``` code block multiple lines ```
code block
multiple lines
```javascript const x = 42; console.log(x); ```
const x = 42;
console.log(x);

Blockquotes

Markdown Result
> This is a quote
This is a quote
> First line > Second line
First line
Second line
> Outer quote >> Nested quote
Outer quote
Nested quote

Tables

Markdown Result
| Header | Header | |--------|--------| | Cell | Cell | | Cell | Cell |
HeaderHeader
CellCell
CellCell
| Left | Center | Right | |:-----|:------:|------:| | L | C | R |
LeftCenterRight
LCR

Horizontal Rules

Markdown Result
---
***
___

Advanced Syntax

Markdown Description
Term : Definition Definition list (some parsers)
H~2~O Subscript: H2O (extended)
X^2^ Superscript: X2 (extended)
==highlight== highlight (extended)
[^1] ... [^1]: Note Footnote reference (extended)
\*escaped\* *escaped* (backslash escapes)

Try It Yourself!

Practice Markdown with our free online editor

Open Markdown Editor