#' @export
make_website <- function(websitename = paste(basename(getwd()), "package")) {
dir.create("website")
cat(paste0("name: \"", websitename,
"\"\nhref: index.html\noutput_dir: \"../docs\""),
file = "website/_site.yml")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.