Markdown - Cheat sheet
Headings
Input
# H1
## H2
### H3
#### H4
##### H5
###### H6
Header 1
==========
Header 2
-----------
Output
# H1
## H2
### H3
#### H4
##### H5
###### H6
# Header 1
## Header 2
Formatting
Normal = Normal
**Bold** = Bold
__Bold__ = Bold
*Italic* = Italic
_Italic_ = Italic
***Bold & Italics*** = Bold & Italics
___Bold & Italics___ = Bold & Italics
Subscript example: H~2~O = H2O
Superscript example: X^2^ = X2
==Highlight== = Highlight
~~Strikethrough~~ = Strikethrough
Emojis
:joy: = π
:smile: = π
:cry: = π’
:tent: = βΊοΈ
:heart: = β€οΈ
:icecream: = π¦
:school: = π«
:car: = π
List
Ordered list
Input
1. Item 1
2. Item 2
1. Item 2.1
1. Item 2.1.a
2. Item 2.1.b
Output
- Item 1
- Item 2
- Item 2.1
- Item 2.1.a
- Item 2.1.b
Unordered list
Input
- Item 1
- Item 2
- second level 1
- third level
- second level 2
- third level
Output
- Item 1
- Item 2
- second level 1
- third level
- second level 2
- third level
Task List:
Input
- [ ] Checkbox off
- [x] Checkbox on
Output
- Checkbox off
- Checkbox on
Miscellaneous
Input
term
: definition
Output
- term
- definition
Code
Inline Code
Input
`code`
Output
code
Block Code
JSON
Code block with JSON keyword
Input
```JSON
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
```
Output
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
Code block without JSON keyword
Input
```
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
```
Output
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
Links
External reference
Input
[Google](https://www.google.com)
Output
Input
[Google](https://www.google.com "Google Home Page")
Output
Input
<https://google.com>
Output
Internal Reference
Input
[Linked to readme page](## "link")
Output
Images
External reference
Input

Output
Internal Reference
Input

Output

Table
Alignment
You can align text in the columns to the left, right, or center by adding a colon : to the left, right, or on both side of the hyphens within the header row.
| Syntax | Description | Test Text |
|---|---|---|
| Text Left Aligned | Text Center Aligned | Text Right Aligned |
Blockquote
Input
> This is
> a blockquote
>
> > Nested
> > Blockquote
Output
This is a blockquote
Nested Blockquote
Horizontal Rule
Input
Three or more
--- (Hyphens) or *** (Asterisks) or ___ (Underscores)
Output
Footnote
Input
Here's a sentence with a footnote. [^1]
[^1]: This is the footnote.
Output
Here's a sentence with a footnote. [^1]
[^1]: This is the footnote.
Markdown in HTML
Does not work very well. Use HTML tags.