12.2 What is Markdown?
Markdown is a lightweight language that can be used to write fully-formatted documents. It is plain-text and uses a simple set of rules to produce rather sophisticated output - we love it!
Markdown exists independent of R and is used by a range of techies and alike.
A combination of Markdown (which is text with special characters to indicate desired formatting) and R code within it (usually to produce tables and plots) is called R Markdown.
R scripts have the file extension
.R, Markdown documents have a file extension
.md, therefore, R Markdown documents are