bookdown_open | R Documentation |
Opens a previously generated HTML bookdown site from files in the specified folder. This is a shortcut function to access 'index.html' in the specified folder.
bookdown_open(bookdown_path)
bookdown_path |
A character string identifying the folder path containing the files to open the bookdown site. |
Nothing to be returned. The function opens a web page.
bookdown_template()
,bookdown_open()
{
bookdown_path = tempdir()
bookdown_template(bookdown_path, overwrite = TRUE)
bookdown_render(bookdown_path, overwrite = TRUE)
bookdown_open(bookdown_path)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.