tool / 47

Markdown Cheatsheet

Every common markdown construct, with the exact syntax to copy.

All local
22/22
Headings3
Heading 1
# Heading
Largest heading.
Heading 2
## Heading
Second-level heading.
Heading 3
### Heading
Third-level heading.
Text5
Bold
**bold**
Bold text.
Italic
*italic*
Italic text.
Bold italic
***both***
Bold and italic.
Strikethrough
~~strike~~
GFM strikethrough.
Inline code
`code`
Inline monospaced code.
Links4
Link
[label](https://example.com)
Inline link.
Reference link
[label][ref]

[ref]: https://example.com
Linked by ID.
Auto link
<https://example.com>
Display the URL itself as a link.
Image
![alt](image.png)
Inline image.
Lists4
Unordered list
- one
- two
- three
Bulleted list.
Ordered list
1. one
2. two
3. three
Numbered list.
Task list
- [x] done
- [ ] todo
GFM task list.
Nested list
- one
  - nested
  - nested
Indent two spaces.
Blocks5
Blockquote
> a wise quote
Quoted block.
Code block
```js
const x = 1;
```
Fenced with optional language.
Horizontal rule
---
Thematic break.
Table
| col | col |
|---|---|
| a | b |
GFM table.
Footnote
Some text.[^1]

[^1]: Footnote text.
GFM footnote.
Misc1
Escape
\* literal
Backslash to escape.