.db <- new.env()
.db$fonts <- NULL
.allWeights <- NULL
.onLoad <- function(libname, pkgname){
if (is.null(.db$fonts)) {
.db$fonts <<- as.environment(.fontList)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.