Markdown comprehensive cheat sheet
# Heading 1
This is a paragraph.
- List item 1
- List item 2
**Bold text** and *italic text*.
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
This is **bold**, *italic*, ~~strikethrough~~, and `inline code`.
[Inline Link](https://www.example.com)
[Reference Link][1]
[1]: https://www.example.com

![Reference Image][img1]
[img1]: https://www.example.com/image.png
- Item 1
- Item 2
- Subitem 2.1
- Subitem 2.2
1. First
2. Second
3. Third
- [x] Task 1
- [ ] Task 2
> This is a blockquote.
>
> - You can nest lists
> - And other Markdown elements
Use `code` for inline code.
```python
def hello():
print("Hello, Markdown!")
```
| Syntax | Description |
|--------|-------------|
| Header | Title |
| Cell | Cell |
---
***
___
\*This text is not italic*
Here is a footnote reference,[^1]
[^1]: Here is the footnote.
I :heart: Markdown! :smile:
<span style="color: red;">Red text</span>
Inline math: $E=mc^2$
Block math:
$$
\int_0^\infty e^{-x} dx = 1
$$