#' Title
#'
#' @param x
#' @param ShowPlot
#'
#' @return
#' @export
show_ggplot2 <- function(x, ShowPlot = TRUE) {
if (ShowPlot) {
print(x)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.