Description Usage Arguments Value
safe_rmd_prevw allows the user to preview a book chapter
rendered with bookdown when the chapter .Rmd file is located in
a sub-folder away from the project file. It creates a temporary environment
and executes the bookdown::preview_chapter() within this temporary
working directory. Furthermore, it stores the output pdf in the same
directory.
Robust function: FALSE
1 | safe_rmd_prevw(chapter = NULL, folder = NULL)
|
chapter |
Name (with .Rmd extension) of chapter to render |
folder |
Path to where .Rmd files are located within project |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.