md_document(variant = "markdown_strict", preserve_yaml = FALSE, toc = FALSE, toc_depth = 3, fig_width = 7, fig_height = 5, fig_retina = NULL, dev = "png", includes = NULL, md_extensions = NULL, pandoc_args = NULL)
TRUE
to include a table of contents in the outputNULL
which performs no scaling. A setting of 2 will work for all
widely used retina displays, but will also result in the output of
tags rather than markdown images due to the need to set the
width of the image explicitly.includes
function).rmarkdown_format
for
additional details.render
md_document
format.R Markdown documents can have optional metadata that is used to generate a document header that includes the title, author, and date. For more details see the documentation on R Markdown metadata.
R Markdown documents also support citations. You can find more information on the markdown syntax for citations in the Bibliographies and Citations article in the online documentation.
## Not run:
#
# library(rmarkdown)
#
# render("input.Rmd", md_document())
#
# render("input.Rmd", md_document(variant = "markdown_github"))
# ## End(Not run)
Run the code above in your browser using DataLab