rmarkdown::html_document
to facilitate multiple output format porting.multi_document( ..., number_sections = TRUE, number_section_depth=3, toc = TRUE, toc_depth = 2, self_contained = TRUE, dev = "png", literasee_template = "sgp_report", html_template = "default", css = "default", bibliography = "default", csl = "default", md_extensions=NULL, pandoc_args = NULL)
... | Passed onto |
---|---|
number_sections | Boolean. Should sections, subsections, and subsubsections be numbered. Default |
number_section_depth | Numeric. Depth of headers to include in section numbering. Default is 3 (subsubsections). |
toc | Boolean. |
toc_depth | Numeric. Depth of headers to include in table of contents. Default is 2 (subsections). |
self_contained | Produce a standalone HTML file with no external dependencies, using data: URIs to incorporate the contents of linked scripts, stylesheets, images, and videos. |
dev | Graphics device to use for figure output (defaults to png). |
literasee_template | Name of Literasee package style template to use for rendering. Default is ‘sgp_report’
(currently the only option available). Located at |
html_template | Pandoc HTML template to use for rendering. Pass |
css | The CSS if other that the default within the package. |
bibliography | The LaTeX style bibliography file (.bib, .bibtex, etc.) to include. The default file included in the package includes references often used by the author and will likely be insufficient for most users. |
csl | The CSL (citation style language) to use to format bibliography (if included). Defaults to APA 5th edition. See this Github repository for alternatives. If NULL pandoc defaults will be used. |
md_extensions | Markdown extensions to be added or removed from the default definition or R Markdown. |
pandoc_args | Additional command line options to pass to pandoc |
R Markdown output format to pass to render
not_run({ ## Produce HTML document from My_Report.Rmd render("My_Report.Rmd", multi_document(pandoc_args = "--webtex")) })