gmarpons / asciidoc-hs

AsciiDoc parser that can be used as a Pandoc front-end, written in Haskell
BSD 3-Clause "New" or "Revised" License
48 stars 4 forks source link

Compute section nesting before Pandoc conversion #25

Open gmarpons opened 3 years ago

gmarpons commented 3 years ago

Either during block parsing or as a mid-process.

Asciidoctor uses divs to delimit sections and add metadata to them. Cannot mimic Asciidoctor output without computing section scope and nesting.