qmdtemplates
enables convenient storage and loading of custom
Quarto templates.
Install qmdtemplates
from GitHub:
# install.packages("remotes")
remotes::install_github("kthayashi/qmdtemplates")
Alternatively, fork this GitHub repo to customize/add templates.
qmdtemplates
is comprised of two main functions, both of which are
intended to be used interactively as part of one’s project setup.
Check available templates with qmdtemplates::available()
:
qmdtemplates::available()
#>
#> ── docx ──
#>
#> • manuscript.docx
Use a template (i.e. copy it into a target directory) with
qmdtemplates::use()
:
qmdtemplates::use("manuscript.docx", at = "assets")
#> ✔ Template "manuscript.docx" copied to: 'assets/template-manuscript.docx'
This package is neither associated with nor endorsed by the Quarto open source project.