Chapter 4 Formatting
The greatest strength of the Markdown language is that its simplicity makes it very easy to read and write even to newcomers. This is one of its key design principles, and as outlined creator of the original Markdown language:
A Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions.
However, this comes at a cost of customization. Many features of typical word processors are not directly available in Markdown. These include:
Changing the font size of a piece of text;
Changing the font color of certain words;
Specifying text alignment.
We leave it to you to decide whether such features are worth your effort. To some degree, Markdown reflects the philosophy of Stoicism: the “natural world” consists of plain text, and you should not be controlled by the desire for (visual) pleasure. Anyway, this chapter offers some tips on how you can customize the appearance and styling of elements in an R Markdown document.
If you need a reminder in the basics of the Markdown language, the R Markdown cheatsheet at https://www.rstudio.com/resources/cheatsheets/ provides a good overview of the basic syntax.