.onLoad = function(libname, pkgname) {
shiny::addResourcePath(
prefix = "assets",
directoryPath = shinymath_file("assets")
)
}
.onUnload = function(libname, pkgname) {
shiny::removeResourcePath("assets")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.