R Markdown Document Formatting


Headers are formatted with hash marks.

# Header 1
## Header 2
### Header 3
...  
###### Header 6

Header 1

Header 2

Header 3


Header 6

Other types of formatting include:

*italics*

italics

**bold**

bold

`code box`

looks like a div container

superscript^2^/subscript~2~

superscript2/subscript2

~~strikethrough~~

strikethrough

Use <br> to force a line break (in html)
Or use double spaces at the end of the line to force one in word

apple
orange


Lists and Dividers

- unordered list
- item 2
  - item 2a (indent 1 tab)
  - item 2b
ordered list
  • unordered list
  • item 2
    • item 2a (indent 1 tab)
    • item 2b
1. ordered list
2. item 2
 - item 2a (indent 2 tabs)
 - item 2b
ordered list
  1. ordered list
  2. item 2
    • item 2a (indent 2 tabs)
    • item 2b
Three dashes in a row (---) create a line break like the one after this chunk.

Font Colors

Font colors can be changed in HTML, but word will ignore this formatting.

<span style="color: red;">This text will be red</span>

This text will be red