#' Checks if running is R via Visual Studio Code (VSCode)
#'
#' @return A logical
is_vscode <- function() {
opt_names <- names(options())
"vsc.globalenv" %in% opt_names
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.