Markdown Cheat Sheet
Free Markdown cheat sheet with headings, line breaks, lists, tables, quotes, and code blocks — copy examples instantly.
Basics
Heading
# followed by a space
# Heading 1
Bold / italic
Or __bold__ / _italic_
**bold** and *italic*
Line break
Two trailing spaces, or a blank line
line break
Horizontal rule
Three or more - * _ on their own line
---
Lists & quotes
Unordered list
- * + all work
- item - item
Ordered list
Number, period, space
1. first 2. second
Blockquote
Nest with extra >
> quoted text
Task list
GFM checkboxes
- [ ] todo - [x] done
Links, code, tables
Link
[text](url)
[MDCay](https://md.caydock.com)
Inline code
Wrap with backticks
`const x = 1`
Code fence
Triple backticks + language
```js console.log(1) ```
Table
Separator row uses ---
| A | B | | --- | --- | | 1 | 2 |