library(purrr)
library(rmarkdown)
files <- list.files("vignettes", pattern = "\\.Rmd$", full.names=TRUE)
map(files, render, output_dir = "inst/doc", output_options = list(keep_md = FALSE))
file.rename("inst/doc/_index.html", "inst/doc/index.html")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.