Nothing
#' Include a preview of the CV template output for documentation
#'
#' @param input Path to the CV's template rmd file
#' @keywords internal
insert_preview <- function(template) {
preview <- paste0("preview-", template, ".png")
if(!file.exists(file.path("man", "figures", preview))) {
abort(paste0("Missing preview for ", template, ". Add it with render_preview(<template>) from data-raw/preview.R."))
}
knitr::asis_output(
sprintf(
"![](%s 'Template preview')",
preview
)
)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.