Markdown Cheat Sheet
Syntax, examples and preview
Headings
Level 1 heading, with one hash.
# Heading 1
Heading 1
Level 2 heading, with two hashes.
## Heading 2
Heading 2
Level 3 heading, with three hashes.
### Heading 3
Heading 3
H4, H5 and H6 work the same way, with more hashes.
#### Heading 4 ##### Heading 5 ###### Heading 6
Heading 4
Heading 5
Heading 6
Alternate syntax for H1 and H2 using underlines.
Heading 1 alt ============= Heading 2 alt -------------
Heading 1 alt
Heading 2 alt
Emphasis
Bold text, using two asterisks or underscores.
**bold text**
bold text
Italic text, using one asterisk or underscore.
*italic text*
italic text
Combine bold and italic with three asterisks.
***bold and italic***
bold and italic
Strikethrough text, with two tildes.
~~strikethrough~~
strikethrough
Highlighted text, with two equal signs.
==highlighted==
highlighted
Subscript with tildes, superscript with carets.
H~2~O and X^2^
H2O and X2
Lists
Use hyphen, asterisk or plus to start each item.
- Item one - Item two - Item three
- Item one
- Item two
- Item three
Numbers followed by a period. The renderer renumbers if needed.
1. First 2. Second 3. Third
- First
- Second
- Third
Indent two spaces per level to nest sub-lists.
- Parent
- Child
- Grandchild- Parent
- Child
- Grandchild
- Child
Use [x] for done and [ ] for pending.
- [x] Done - [ ] Pending - [ ] Todo
- Done
- Pending
- Todo
Links
Text in square brackets, URL in parentheses.
[MaisTools](https://maistools.com)
Add a label in quotes after the URL.
[Hover me](https://maistools.com "Tooltip text")
Define the URL once and reference it by identifier.
[Reference link][ref] [ref]: https://maistools.com
Wrap the URL in angle brackets to make it clickable.
<https://maistools.com>
Images
Like a link, but preceded by an exclamation mark.

Add a label in quotes for accessibility.
