bookdown_template | R Documentation |
This helper function creates a template for a bookdown.
bookdown_template(bookdown_path, overwrite = FALSE)
bookdown_path |
A character string identifying the folder path where the bookdown will be generated. |
overwrite |
whether to overwrite existing files. FALSE by default. |
A folder containing all files (Rmd, yml, css) to generate the bookdown.
bookdown_render()
,bookdown_open()
{
bookdown_path = tempdir()
bookdown_template(bookdown_path, overwrite = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.