Overview

In this cheat sheet, I will be highlighting markdown’s core syntax - which is supported by all of markdown’s flavors - and some of markdown’s extended syntax - which may or may not be implemented differently or at all between markdown processors.

Core Syntax

ElementMarkdown
Heading
1
2
3
# heading text 1
## heading text 2
### heading text 3
Bold
1
**bold text**
Italic
1
*italic text*
Blockquote
1
> blockquote text
Ordered List
1
2
3
1. first list item
2. second list item
3. third list item
Unordered List
1
2
3
- first list item
- Second list item
- Third list item
Inline Code
1
`code text`
Horizontal Rule
1
---
Link
1
[link text](https://example.com)
Image
1
![alt text](//image.jpg)

Extended Syntax

ElementMarkdown
Table
1
2
3
4
| Header A | Header B |
| -------- | -------- |
| Row 1 A  | Row 1 B  |
| Row 2 A  | Row 2 B  |
Fenced Code Block
1
2
3
```python
print("hello world")
```
Strikethrough
1
~~strikethrough text~~
Task List
1
2
3
- [x] task 1
- [ ] task 2
- [ ] task 3
Superscript
1
x^3^
Subscript
1
H~2~0