ggsave2 = function(filename, plot, ...) {
args = list(filename = filename, plot = plot, limitsize = FALSE, device = cairo_pdf)
args = BBmisc::insert(args, list(...))
do.call(ggplot2::ggsave, args)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.