Cheatsheets
Markdown
Markdown syntax for text, headings, lists, links, code, and tables.
Visualize
Markdown → preview
Toggle a snippet and see the source render.
source
# Title ## Subtitle
preview
Title
Subtitle
# … ## … become heading levels — more hashes, smaller heading.
27 entries
Text7
**bold**Bold text
*italic*Italic text
~~strike~~Strikethrough (GFM extension)
`code`Inline code
> quoteBlockquote
---Horizontal rule
footnote[^1]Footnote reference
Headings3
# H1Top-level heading
## H2Second-level heading
### H3Third-level heading
Lists5
- itemUnordered list item
1. itemOrdered list item
- nestedNested list item (indent 2 spaces)
- [ ] todoUnchecked task list item (GFM)
- [x] doneChecked task list item (GFM)
Links & images4
[text](https://url)Inline link
Inline image
[text][ref]
[ref]: https://urlReference-style link
<https://url>Autolink — URL rendered as a clickable link
Code & tables3
```js
const x = 1;
```Fenced code block with syntax highlighting
| Col A | Col B |
| ----- | ----- |
| a | b |Table with a header row (GFM)
indentedIndented (4-space) code block
Escaping & special characters2
\*literal asterisk\*Backslash escape — treat the next character literally
& © 😀HTML entities and numeric character references
Raw HTML & GFM extensions2
<details>
<summary>Toggle</summary>
Hidden content
</details>Raw HTML — rendered verbatim in most processors
~~strike~~ ==highlight== ~sub~ ^sup^GFM / extended syntax — support varies by renderer
Hard line breaks & paragraphs1
line one
line twoHard line break — two trailing spaces before newline