This guide provides a quick visual reference for common Markdown syntax.
Italic text
Markdown:
*Here is a line that should be italicized*!
Sample output:
Here is a line that should be italicized!
Bold text
Markdown:
**Here is a line that should be bolded!**
Sample output:
Here is a line that should be bolded!
Strikethrough text
Markdown:
~~Here is a line that should be struck through~~
Sample output:
~~Here is a line that should be struck through~~
Headings
Markdown:
# Here is an H1
## Here is an H2
### Here is an H3
#### Here is an H4
##### Here is an H5
Sample output:
Rendered headings:
- Level 1 heading: "Here is an H1"
- Level 2 heading: "Here is an H2"
- Level 3 heading: "Here is an H3"
- Level 4 heading: "Here is an H4"
- Level 5 heading: "Here is an H5"
Inline links
Markdown:
Here is a [link to the home page](/)
Sample output:
Here is a link to the home page
Named anchors
Markdown:
## Named Anchor
Jump to the [named anchor example](#named-anchor).
Sample output:
Named Anchor
Jump to the named anchor example.
Reference links
Markdown:
Please visit [Prefetch.net][prefetch-home].
[prefetch-home]: http://prefetch.net
Sample output:
Please visit Prefetch.net.
Images
Markdown:

Sample output:

Block quotes
Markdown:
> "This is a block quote"
Sample output:
"This is a block quote"
Inline code
Markdown:
`git commit -m "new commit to repo"`
Sample output:
git commit -m "new commit to repo"
Code blocks
Markdown:
```text
while :; do
sleep 1
done
```
Sample output:
while :; do
sleep 1
done
Unordered lists
Markdown:
- List item 1
- List item 2
- List item 3
Sample output:
- List item 1
- List item 2
- List item 3
Ordered lists
Markdown:
1. List item 1
2. List item 2
3. List item 3
Sample output:
- List item 1
- List item 2
- List item 3
Nested lists
Markdown:
- List item 1
- List item 2
1. Nested item 1
2. Nested item 2
Sample output:
- List item 1
- List item 2
- Nested item 1
- Nested item 2
Hard line breaks
Markdown:
Here is a line that needs a hard break.
More text follows on the next line.
Sample output:
Here is a line that needs a hard break. More text follows on the next line.
Tables
Markdown:
Column 1 | Column 2 | Column 3
-------- | -------- | --------
info | info | info
Sample output:
| Column 1 | Column 2 | Column 3 |
|---|---|---|
| info | info | info |
Paragraph breaks
Markdown:
This is one paragraph.
This is another paragraph.
Sample output:
This is one paragraph.
This is another paragraph.