#' @export
make_index <- function(from = 5, to = 9, path = "website") {
system(paste0("sed ",from,",",to,"d vignettes/",
grep("\\.Rmd$", dir("vignettes"), value = TRUE),
" > ", path, "/index.Rmd"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.