css_dependency <- function(name, files) {
list(
htmltools::htmlDependency(
name,
version = utils::packageVersion("parsons"),
src = "htmlwidgets/plugins/parsons",
package = "parsons",
stylesheet = files,
all_files = FALSE
)
)
}
parsons_dependencies <- function() {
css_dependency("parsons", "parsons.css")
}
bucket_dependencies <- function() {
css_dependency("parsons", "parsons.css")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.