knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) #met <- rmdhelp::MendeleyExportToolR6$new()
# put references before latest change if (exists("met")){ cat("# References {-}\n\n") if (knitr::is_html_output()){ cat("<div id=\"refs\"></div>\n\n") } } # write latest change message if (knitr::is_html_output() && is.element("rmdhelp", installed.packages())) cat(paste0(rmdhelp::get_latest_change()))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.