lab_report | R Documentation |
Acts as a simplified template to common parameters passed to rmarkdown::html_document().
lab_report(
highlight = "pygments",
theme = "spacelab",
toc = TRUE,
toc_float = TRUE,
code_download = TRUE,
code_folding = "show"
)
highlight |
Syntax highlighting style. Supported styles include
"default", "tango", "pygments", "kate", "monochrome", "espresso", "zenburn",
"haddock", and "textmate". Pass |
theme |
Visual theme ("default", "cerulean", "journal", "flatly",
"readable", "spacelab", "united", "cosmo", "lumen", "paper", "sandstone",
"simplex", or "yeti"). Pass |
toc |
|
toc_float |
|
code_download |
Embed the Rmd source code within the document and provide a link that can be used by readers to download the code. |
code_folding |
Enable document readers to toggle the display of R code
chunks. Specify |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.