# This is NOT an exported function
# This is a script used in the Makefile command pdf
# to render all vignettes are pdfs and save them
to_knit <- list.files(pattern = "*.rmd$|*.Rmd$")
for(i in to_knit){
rmarkdown::render(input = i,
output_format = "pdf_document",
params = list(show_code = FALSE),
output_dir = "pdf")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.