#' Checks if running R via Ark (An R Kernel)
#'
#' @return A logical
is_ark <- function() {
basename(commandArgs()[1]) == "ark"
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.