All Cheat Sheets
Markdown Cheat Sheet
Markdown syntax reference — headings, formatting, links, images, tables, code blocks, and GitHub-flavored extras.
Headings
H1
# Heading 1H2
## Heading 2H3
### Heading 3H4
#### Heading 4Text Formatting
Bold
**bold text**Italic
*italic text*Strikethrough
~~strikethrough~~Inline code
`inline code`Blockquote
> This is a quoteHorizontal rule
---Links & Images
Link
[text](https://url.com)Image
Reference link
[text][ref]
[ref]: https://url.comLists
Unordered
- Item 1
- Item 2Ordered
1. First
2. SecondNested
- Item
- Sub-itemTask list
- [x] Done
- [ ] TodoCode Blocks
Fenced block
```language
code here
```Diff block
```diff
+ added
- removed
```Tables
Basic table
| Col 1 | Col 2 |
|-------|-------|
| A | B |Alignment
| Left | Center | Right |
|:-----|:------:|------:|GitHub Extras
Footnote
Text[^1]
[^1]: Footnote contentCollapsed
<details>
<summary>Title</summary>
Content
</details>Alert
> [!NOTE]
> This is a noteMention
@username