Skip to main content

Module parser

Module parser 

Source
Expand description

AST definitions and parser entry points. Parser entry points and AST-facing parser modules.

The parser layer consumes grammar outputs and builds the crate AST.

Re-exports§

pub use blocks::parse_blocks;
pub use inlines::parse_inlines;
pub use ast::*;
pub use position::*;

Modules§

ast
AST node and document types. AST node definitions consumed by parser, renderer, and intelligence layers.
blocks
Block-level parser modules. Block-level parser modules.
inlines
Inline-level parser modules. Inline parser modules - convert grammar output to AST nodes
position
Position and span utilities.
shared
Shared parser span conversion helpers.

Structs§

ParseOptions
Runtime configuration for the Markdown parser.

Functions§

parse
Parse Markdown text into Document AST using default options (full-featured).
parse_with_options
Parse Markdown text with runtime options controlling which work is performed.