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:
parent
3a3a0783e8
commit
2a9110865b
3 changed files with 115 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue