# Make sure there is a flydoc environment associated
# with the function. If not then add one.
flycheck <- function(fun){
if(is.null(attr(fun, "flydoc"))){
attr(fun, "flydoc") <- new.env(parent = emptyenv())
}
fun
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.