wikioxide 0.1.0

MediaWiki wikitext parser producing typed domain models (templates, links, categories, warnings) with template expansion — no HTML, no network
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Stage S3, block pass: line-oriented machines that turn the flattened marker
//! text into the block-level [`DocTree`](crate::engine::ast::DocTree).
//!
//! [`block`] owns the line dispatcher (headings, lists, indent-pre, horizontal
//! rules, paragraphs) and the master frame loop; [`table`] owns the `{| … |}`
//! machine. The two interlock through an explicit frame stack — table cells
//! contain blocks and blocks contain tables, with no input-controlled
//! recursion anywhere.

mod block;
mod table;

pub(crate) use block::parse_blocks;