quarto_use_template | R Documentation |
Install and use a template for Quarto using quarto use
.
quarto_use_template(
template,
dir = ".",
no_prompt = FALSE,
quiet = FALSE,
quarto_args = NULL
)
template |
The template to install, either an archive or a GitHub repository as described in the documentation https://quarto.org/docs/extensions/formats.html. |
dir |
The directory in which to install the template. This must be an empty directory.
To use directly in a non-empty directory, use |
no_prompt |
Do not prompt to confirm approval to download external extension. |
quiet |
Suppress warnings and messages. |
quarto_args |
Character vector of other |
## Not run:
# Use a template and set up a draft document from a GitHub repository
quarto_use_template("quarto-journals/jss")
# Use a template in current directory by installing it in an empty directory
quarto_use_template("quarto-journals/jss", dir = "new-empty-dir")
# Use a template and set up a draft document from a ZIP archive
quarto_use_template("https://github.com/quarto-journals/jss/archive/refs/heads/main.zip")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.