Description Usage Arguments Value See Also Examples
The next simplest thing we can do is change the defaults for
code_folding
and theme, then pass the rest of our arguments to
rmarkdown::html_document
1 2 | html_doc_1(code_folding = c("show", "hide", "none"), theme = "readable",
...)
|
code_folding |
Enable document readers to toggle the
display of R code chunks. We change the default to |
theme |
Use to change the theme |
... |
other arguments passed to
|
R Markdown output format to pass to
rmarkdown::render
http://rmarkdown.rstudio.com/developer_custom_formats.html
1 2 3 4 | ## Not run:
rmarkdown::render("foo.Rmd", html_doc_1())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.