output can have other values e.g pdf_document, word_document. Note that you need to bring html_document onto new line and indent it with two spaces. Now let’s add table of content to our document, this will make it easier to navigate your page as well as give nice over view of the content our key is toc with value true or yes which one you prefer better.
#Make an rmarkdown github rendable code
Just like with the options we passed in to manipulate R code block, YAML block also has key = value pairs, but instead they are separated by colon ( : ). Rmd document and find YAML section there. I’m only going to show you a few possible options and will let you explore the rest on your own. You can also pass additional files such as stylesheet file. In this block you can fine turn your output document, add some metadata and change document’s font and theme. Rmd file you can, optionaly, include YAML block.
The underlying idea for then markdown is that it is easy-to-write and easy-to-read.
#Make an rmarkdown github rendable pdf
Markdown is a powerful “language” for writing different kinds of documents, such as PDF or HTML in an efficient way, but markdown documents can also be published as is.