The site generator safesite
modifies the render function produced by
the site generator rmarkdown:::default_site
(see
render_site
) to run render
in a separate R process using the R package callr.
1 |
To use this alternative site generator, add the following line to the YAML
header of index.Rmd
:
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.