Package-level declarations
Types
A parsed link reference definition.
Resolves a link reference label to (destination, title?) or null.
Result of collecting a list item.
Properties
Functions
Parses a markdown string into a MarkdownDocument AST.
Parses inline markdown content from raw text into a list of Inline nodes.
Parses a list of lines into block AST nodes. This is the main recursive entry point — container blocks call this on their inner content.
Extracts leading link reference definitions from paragraph text. Returns the list of definitions found plus the remaining text. CommonMark §4.7: [label]: destination "title"
Tries to strip a block quote marker (> + optional space) from a line.
Tries to strip a bullet list marker (-, +, *) from a line.
Tries to strip an ordered list marker (digits + . or )) from a line.