notebook_knit_page | R Documentation |
Knit a single notebook entry
notebook_knit_page(rmd_in, md_out, helper_script)
rmd_in |
path to the rmd file to knit |
md_out |
path to the md file to create |
helper_script |
path to an R script to run beforehand |
a character vector where the first element is md_out
and any
additional elements are plots created during knitting.
Knitting is done in a separate R process via callr::r()
.
If the option knitr::opts_knit$get("notestar_purge_figures")
is set to
TRUE
, then the contents of the figures folder will be purged before
knitting the file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.