basename_without_extension <- function(filename) {
a <- strsplit(filename, "/", fixed = TRUE)[[1]]
f <- a[length(a)]
f <- sub("([^.]+.+)\\.[[:alnum:]]+$", "\\1", f)
return(f)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.