Markdown Cheatsheet
Sections
10
categories
Snippets
20
syntax
Visible
20
all
Total MD
609 B
all snippets
syntax · markdown
Headings
Six levels: #, ##, …, ######
# H1 ## H2 ### H3
Emphasis
bold
**bold**
italic
*italic*
bold italic
***bold italic***
strikethrough (GFM)
~~strikethrough~~
Lists
Unordered, indent 2 spaces to nest
- item - item - nested
Ordered
1. first 2. second 3. third
Task list (GFM)
- [ ] todo - [x] done
Links & images
Inline link
[link text](https://example.com)
Inline image

Reference-style link
[ref][1] [1]: https://example.com
Autolink
<https://example.com>
Code
Inline code
`inline code`
Fenced code block (lang hint optional)
```js
console.log('hi');
```Tables (GFM)
Right-align ---:, center :---:, left ---
| col1 | col2 | | ---- | ---: | | a | 1.0 |
Blockquotes & rules
Blockquote
> quoted text
Horizontal rule (also ___ or ***)
---
Footnotes
Footnote (GFM)
See[^1] [^1]: note text
Callouts (GitHub)
Also TIP, IMPORTANT, WARNING, CAUTION
> [!NOTE] > Useful tip
Escaping
Backslash escapes any Markdown character
\*not bold\*
rendered · description
Headings
Six levels: #, ##, …, ######
Emphasis
bold
italic
bold italic
strikethrough (GFM)
Lists
Unordered, indent 2 spaces to nest
Ordered
Task list (GFM)
Links & images
Inline link
Inline image
Reference-style link
Autolink
Code
Inline code
Fenced code block (lang hint optional)
Tables (GFM)
Right-align ---:, center :---:, left ---
Blockquotes & rules
Blockquote
Horizontal rule (also ___ or ***)
Footnotes
Footnote (GFM)
Callouts (GitHub)
Also TIP, IMPORTANT, WARNING, CAUTION
Escaping
Backslash escapes any Markdown character