svglite_path <- function(...) {
file.path("R", "svglite", ...)
}
for (file in list.files(svglite_path(), pattern = "*.R")) {
source(svglite_path(file), local = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.