plusparse/block_parser library
Block parser: walks the document line-by-line and produces block-level MdNodes, recursing into the inline parser for text content and into itself for nested content (list items, blockquotes). Single pass, error-tolerant: it never throws on malformed or partial (streaming) input. Ported 1:1 from the Rust plusparse block parser.
Functions
-
parseBlocks(
List< String> lines, bool useDollar, [MarkdownBlockRegistry? registry]) → List<MdNode> -
parseDocument(
String src, bool useDollar, [MarkdownBlockRegistry? registry]) → MdDocument