Markdown Portal Logo
MarkdownPortal
Open Editor
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)

ElementMarkdown SyntaxRendered OutputAction
Heading 1# Heading 1Heading 1
Heading 2## Heading 2Heading 2
Heading 3### Heading 3Heading 3
Heading 4#### Heading 4Heading 4
Setext H1Heading 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
  1. First step
  2. Second step
  3. Third step

Task Checkboxes (GFM)

- [x] Completed task
- [ ] Incomplete task
- [ ] Upcoming item
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)CenterRight
Left alignedCenter$100
More textPoint$250
7

Advanced Syntax & GFM Extensions

Footnotes

Here is a statement.[^1]

[^1]: Footnote description here.

Horizontal Rule (Divider)

--- or *** or ___
Copied to clipboard!