pandoc_tpl: Download Pandoc template

pandoc_tplR Documentation

Download Pandoc template

Description

Downloads one of our custom Pandoc templates and returns it as a character scalar. The template is cached using pal::req_cached(), thus only re-downloaded if the local copy is outdated.

Usage

pandoc_tpl(tpl = "quarto_mod.latex")

Arguments

tpl

Template to download. One of "quarto_mod.latex".

Value

The template as a character scalar.

See Also

Other Pandoc functions: download_pandoc_binaries(), pandoc_release_assets()

Examples

## Not run: 
salim::pandoc_tpl(tpl = "quarto_mod.latex") |>
  brio::write_file(path = "quarto_mod.latex")
## End(Not run)

salim-b/salim documentation built on May 18, 2024, 7:08 a.m.