Basics
Paragraphs
Paragraph are separated by blank lines:
Paragrah1
Paragraph2
Headers
# H1
## H2
### H3
#### H4
##### H5
###### H6
or
H1
======
H2
------
Text Elements
*text*
or _text_
- Italic: text
**text**
or __text__
- Bold: text
~~text~~
- Strikethrough:
text
---
(three or more)
- Horizontal line
\*literal asterisks\*
- Use backslash to escape Markdown commands
Lists
Unordered lists
* Red
* Green
* Blue
or
+ Red
+ Green
+ Blue
or
- Red
- Green
- Blue
Ordered lists
1. Bird
2. McHale
3. Parish
or (for the lazy)
1. Bird
1. McHale
1. Parish
Ordered lists
Must be indented by a tab or four spaces:
- Colour
- Red
- Blue
- Animal
- Dog
- Cat
Blocks
Quotes
>This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
> consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
> Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
>
> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
> id sem consectetuer libero luctus adipiscing.
or
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
id sem consectetuer libero luctus adipiscing.
Code
This is a normal paragraph:
This is a code block.