Quick Reference Guide
The Ultimate Markdown Cheat Sheet
A fast, interactive reference guide for standard CommonMark and GitHub Flavored Markdown (GFM). Search any element and copy code snippets in one click.
1
Basic Text Formatting
Bold Text
**bold text** or __bold text__
Rendered: bold text
Italic Text
*italic text* or _italic text_
Rendered: italic text
Bold & Italic Combined
***bold and italic***
Rendered: bold and italic
Strikethrough (GFM)
~~strikethrough text~~
Rendered: strikethrough text
Blockquote & Nested Quotes
> Primary blockquote >> Nested secondary quote
Primary blockquote
Nested secondary quote
2
Headings (ATX & Setext)
| Element | Markdown Syntax | Rendered Output | Action |
|---|---|---|---|
| Heading 1 | # Heading 1 | Heading 1 | |
| Heading 2 | ## Heading 2 | Heading 2 | |
| Heading 3 | ### Heading 3 | Heading 3 | |
| Heading 4 | #### Heading 4 | Heading 4 | |
| Setext H1 | Heading 1 ========= | Heading 1 |
3
Lists & Task Checkboxes
Unordered List
- Apple - Orange - Tangerine - Banana
- Apple
- Orange
- Tangerine
- Banana
Ordered List
1. First step 2. Second step 3. Third step
- First step
- Second step
- Third step
Task Checkboxes (GFM)
- [x] Completed task - [ ] Incomplete task - [ ] Upcoming item
4
Links, Images & Autolinks
Standard Link with Title
[Markdown Portal](https://markdownportal.com "Free Tools")
Rendered: Markdown Portal
Image with Alt Text

Renders image tag <img src="..." alt="Alt Description">
5
Code Fences & Syntax Highlighting
Inline Code
Use the \`npm install\` command.
Rendered: Use the
npm install command.Fenced Code Block (with Language)
```javascript
function greet(user) {
console.log("Hello, " + user);
}
```6
Tables & Column Alignments
Markdown Table Syntax
| Header (Left) | Center | Right | | :--- | :---: | ---: | | Left aligned | Center | $100 | | More text | Point | $250 |
Rendered Output
| Header (Left) | Center | Right |
|---|---|---|
| Left aligned | Center | $100 |
| More text | Point | $250 |
7
Advanced Syntax & GFM Extensions
Footnotes
Here is a statement.[^1] [^1]: Footnote description here.
Horizontal Rule (Divider)
--- or *** or ___