is_url <- function(x) {
is.character(x) && length(x) == 1 && grepl("^http", x)
}
is_recursive <- function(x) vapply(x, is.recursive, logical(1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.