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:
Barrett Ruth 2026-03-04 13:54:01 -05:00
parent 2a9110865b
commit 4665deee6c
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
3 changed files with 67 additions and 0 deletions

View file

@ -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