quarto_update_extension | R Documentation |
Update an extension to this folder or project by running quarto update
quarto_update_extension(
extension = NULL,
no_prompt = FALSE,
quiet = FALSE,
quarto_args = NULL
)
extension |
The extension to update, either by its name (i.e |
no_prompt |
Do not prompt to confirm approval to download external extension. Setting |
quiet |
Suppress warning and other messages, from R and also Quarto CLI
(i.e
On Github Actions, it will always be |
quarto_args |
Character vector of other |
Returns invisibly TRUE
if the extension was updated, FALSE
otherwise.
Quarto extensions may execute code when documents are rendered. Therefore, if
you do not trust the author of an extension, we recommend that you do not
install or use the extension.
By default no_prompt = FALSE
which means that
the function will ask for explicit approval when used interactively, or
disallow installation.
quarto_add_extension()
, quarto_remove_extension()
, and Quarto website.
## Not run:
# Update a template and set up a draft document from a GitHub repository
quarto_update_extension("quarto-ext/fontawesome")
# Update a template and set up a draft document from a ZIP archive
quarto_update_extension("https://github.com/quarto-ext/fontawesome/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.