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#
| Element | Markdown |
|---|
| Heading | 1
2
3
| # heading text 1
## heading text 2
### heading text 3
|
|
| Bold | |
| Italic | |
| Blockquote | |
| 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 | |
| Horizontal Rule | |
| Link | 1
| [link text](https://example.com)
|
|
| Image | 1
| 
|
|
Extended Syntax#
| Element | Markdown |
|---|
| 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 | | Task List | 1
2
3
| - [x] task 1
- [ ] task 2
- [ ] task 3
|
| Superscript | | Subscript | |