Expand description
AST definitions for Ox Content Markdown parser.
This crate defines the Abstract Syntax Tree (AST) for Markdown documents, designed to be compatible with mdast (Markdown AST) specification while providing efficient arena-based allocation.
Structs§
- Block
Quote - Block quote.
- Break
- Line break.
- Code
Block - Code block (fenced or indented).
- Definition
- Link/image reference definition.
- Delete
- Strikethrough (GFM extension).
- Document
- Root node of a Markdown document.
- Emphasis
- Emphasis (italic).
- Footnote
Definition - Footnote definition (GFM extension).
- Footnote
Reference - Footnote reference (GFM extension).
- Heading
- Heading node (h1-h6).
- Html
- HTML block.
- Image
- Image.
- Inline
Code - Inline code.
- Link
- Link.
- List
- List (ordered or unordered).
- List
Item - List item.
- Paragraph
- Paragraph node.
- Position
- Position in source text with line and column information.
- Span
- A span representing a range in the source text.
- Strong
- Strong emphasis (bold).
- Table
- Table (GFM extension).
- Table
Cell - Table cell.
- Table
Row - Table row.
- Text
- Plain text.
- Thematic
Break - Thematic break (horizontal rule).
Enums§
Traits§
- Visit
- Visitor trait for traversing the Markdown AST.
Functions§
- walk_
block_ quote - Walks through a block quote’s children.
- walk_
delete - Walks through strikethrough children.
- walk_
document - Walks through a document’s children.
- walk_
emphasis - Walks through emphasis children.
- walk_
footnote_ definition - Walks through a footnote definition’s children.
- walk_
heading - Walks through a heading’s children.
- walk_
link - Walks through a link’s children.
- walk_
list - Walks through a list’s children.
- walk_
list_ item - Walks through a list item’s children.
- walk_
node - Walks through a node, dispatching to the appropriate visit method.
- walk_
paragraph - Walks through a paragraph’s children.
- walk_
strong - Walks through strong emphasis children.
- walk_
table - Walks through a table’s children.
- walk_
table_ cell - Walks through a table cell’s children.
- walk_
table_ row - Walks through a table row’s children.