feat(presets): add quarto preset
Adds a quarto preset for .qmd scientific documents rendering to self-contained HTML with SSE live-reload. Uses --embed-resources to avoid a _files directory in the common case. No error_parser since quarto errors are heterogeneous (mixed R/Python/pandoc output).
This commit is contained in:
parent
2a9110865b
commit
4665deee6c
3 changed files with 67 additions and 0 deletions
|
|
@ -162,6 +162,7 @@ Import them from `preview.presets`:
|
|||
`presets.markdown` pandoc → HTML (standalone, embedded)
|
||||
`presets.github` pandoc → HTML (GitHub-styled, `-f gfm` input)
|
||||
`presets.asciidoctor` asciidoctor → HTML (AsciiDoc with SSE reload)
|
||||
`presets.quarto` quarto render → HTML (scientific publishing)
|
||||
|
||||
Enable presets with `preset_name = true`:
|
||||
>lua
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue