-
Headings
-
number sign
- #
-
number
- correspond to heading level
-
# heading level 1
-
or
- Heading level 1
===============
-
## heading level 2
- Heading level 2
---------------
- any number ==
-
Paragraphs
- a blank line
- don't indent paragraphs
-
Line Breaks
- end line with >2 spaces
- type return
-
Emphasis
-
Bold
- 2 asterisks/underscores
- **bold text**
- __bold text__
-
Italic
- 1 asterisk/underscore
- *cat's meow*
- _cat's meow_
-
Bold and Italic
- 3 asterisk/underscore
- ***really important***
- ___really important___
- __*really important*__
- **_really important_**
-
Blockquotes
- > paragraph
-
Blockquotes &
Multiple Paragraphs
- > on the blank lines
- > paragraph
>
> paragraph
-
Nested Blockquotes
- >> paragraph to nest
- > paragraph
>
>> paragraph
-
Blockquotes &
Other Elements
- not all elements
- > *Everything*
- > - Revenue
-
Lists
-
Ordered Lists
- start with number 1
- line items with numbers
- numerical order or not
-
example
- 1. First item
2. Second item
3. Third item
4. Fourth item
- 1. First item
1. Second item
1. Third item
- 1. First item
8. Second item
3. Third item
- 1. First item
2. Second item
3. Third item
1. Indented item
2. Indented item
4. Fourth item
-
Unordered Lists
- -/*/+
- Indent for nested list
- - First item
- Second item
- Third item
- + First item
* Second item
- Third item
+ Fourth item
-
- First item
- Second item
- Third item
- Indented item
- Indented item
- Fourth item
-
Adding Elements in Lists
- indent the element 4 spaces/1 tab
-
Code Blocks
- 8 spaces or 2 tabs
-
Code
- `
- type `nano`
-
Horizontal Rules
- ***
- ---
- ___
- 3 or more
-
Links
- [link text](URL)
-
emphasize
- **[EFF](https://eff.org)**
- *[Markdown Guide](https://www.markdownguide.org)*
-
URLs/Email
-
<>
- turn to link
- <fake@example.com>
-
Images
- ![alt text](path/URL "add title optionally")
-
Linking images
- ![alt text](path/URL "add title optionally")(link)
-
Escaping Characters
- \ character