# Testing Markdown

## Testing Markdown

The content on this page was generated from a standard Markdown file.

## Markdown vs. Rmarkdown vs. Rmd

This section is included in three test files for three different markdown formats (.md, .Rmarkdown and .Rmd).

Some differences are:

• You cannot run any R code in a plain md document, whereas in Rmarkdown and Rmd documents, you can embed R code chunks ({r});
print("This text was written in R")

There are many differences in syntax between Blackfriday’s Markdown and Pandoc’s Markdown. For example, you can write a task list with Blackfriday but not with Pandoc:

- [x] Write an R package.
- [ ] Write a book.
- [ ] ...
- [ ] Profit!
• Inline Math with \$$\$$ rendered with Katex in all file formats: For any $$(x,y,z)$$, if $$x^2 + y^2 + z^2 = R^2$$ then $$(x,y,z)$$ is on the sphere, otherwise it’s not.

• Dedicated line of Math with \$\$ rendered with Katex in all file formats:

$(x-x_0)^2 + (y-y_0)^2 + (z-z_0)^2 = R^2$

• Inline Math with  rendered only in rmd: $Sn = \sum{i=1}^n X_i$

• Dedicated line of Math with  rendered only in rmd.

$$Sn = \sum{i=1}^n X_i$$