Copies the bundled 'quarto-live' extension into dir/_extensions/ so that
Quarto documents in dir can use format: live-html. This is the
non-interactive equivalent of quarto add r-wasm/quarto-live.
Usage
add_live_extension(dir = ".", overwrite = TRUE)
Arguments
- dir
Directory of the Quarto project or document. Defaults to the
current working directory.
- overwrite
Overwrite an existing copy of the extension? Defaults to
TRUE.
Value
The path to the project's _extensions directory, invisibly.