#' Compile PDF with Desert Format
#'
#' This is a light-weight and generic academic manuscript template.
#'
#' @param keep_tex Keep the intermediate tex file used in the conversion to PDF
#' @param ... arguments to be passed to \code{rmarkdown::pdf_document()}
#'
#' @return
#' @export
#'
#' @examples
#'
desert_pdf <- function(keep_tex = TRUE, ...){
template <- system.file("rmarkdown/templates/desert/resources/desert.tex",
package = "deseRt")
rmarkdown::pdf_document(template = template,
keep_tex = keep_tex,
...)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.