Expand description
MarkdownProcessor — the streaming core. Ported from
markmend/core/src/processor.ts + markmend/ast cache behavior:
raw content
-> normalize (CRLF, trim, LaTeX pre-processing)
-> parse_markdown_into_blocks (streaming mode; single block in static mode)
-> preprocess LAST block only (syntax self-healing fixes)
-> parse each block to AST (LRU-cached, only the tail block is new)Structs§
- Block
Result - One processed block: the (preprocessed) source text and its cached AST.
- Cache
Stats - Cache effectiveness counters, exposed for benchmarks and status bars.
- Document
- Snapshot handed to display adapters.
- Markdown
Processor - Processor
Options