#'@title Determines if rendering in knitr
#'
#'@return boolean
#'@keywords internal
is_rendering_in_knitr = function() {
isTRUE(getOption('knitr.in.progress'))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.