feat(presets): add asciidoctor preset

Adds an asciidoctor preset for AsciiDoc → HTML compilation with SSE
live-reload. Includes a parse_asciidoctor error parser handling the
"asciidoctor: SEVERITY: file: line N: message" format for both
ERROR and WARNING diagnostics.
This commit is contained in:
Barrett Ruth 2026-03-04 13:53:38 -05:00
parent 3a3a0783e8
commit 2a9110865b
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
3 changed files with 115 additions and 0 deletions

View file

@ -161,6 +161,7 @@ Import them from `preview.presets`:
`presets.tectonic` tectonic → PDF (Rust-based LaTeX engine)
`presets.markdown` pandoc → HTML (standalone, embedded)
`presets.github` pandoc → HTML (GitHub-styled, `-f gfm` input)
`presets.asciidoctor` asciidoctor → HTML (AsciiDoc with SSE reload)
Enable presets with `preset_name = true`:
>lua