Now that we have a solid understanding about how to format an R Markdown document, lets discuss format options. The companion article, Introduction to interactive documents, will show you how to turn an R Markdown report into an interactive document with Shiny components. What magic incantation do I put in my CSS stylesheet to change the body text of an RMarkdown file that's being rendered as anioslides_presentation? Rmarkdown , ( ). Note that if you add a pair of ` around code inside the the code chunk, you will get an error message when you knit the file. In my case I needed to pack more information into a document that had a specified number of pages so I made everything smaller. For example, given this input: This is a normal paragraph: This is a code block. When you render the report, knitr will run the code and add the results to the output file. The result will appear as if it were part of the original text. The example changes the sizes of the headers and titles, as well as the inline text and the R-code text, and sets some colors as well. Then click the question mark that appears at the top of the scripts pane. The rmarkdown package supports four types of presentations. //]]>. Consider how authors typically include graphs (or tables, or numbers) in a report. Notice in the default .Rmd file that there are two sections in the document, R Markdown and Including Plots. to your account. It is possible to override the width of the slide content using the following css: You can go up to 100%. In the R Markdown paradigm, each report contains the code it needs to make its own graphs, tables, numbers, etc. A YAML header is a section of key: value pairs surrounded by --- marks, like below. We recommend sticking to the basics at first when learning R Markdown. Seems like I can use {.smaller} to change it for the whole slide. //