#' Checks if running R via Positron
#'
#' @return A logical
is_positron <- function() {
(Sys.getenv("POSITRON") == "1") && nzchar(Sys.getenv("POSITRON_VERSION"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.