Module nodes
The CommonMark AST.
Structs
- Ast A single node in the CommonMark AST.
- LineColumn Represents the 1-based line and column positions of a given character.
- NodeCode An inline code span.
- NodeCodeBlock The metadata and data of a code block (fenced or indented).
- NodeDescriptionItem The metadata of a description list
- NodeFootnoteDefinition The metadata of a footnote definition.
- NodeFootnoteReference The metadata of a footnote reference.
- NodeHeading The metadata of a heading.
- NodeHtmlBlock The metadata of an included HTML block.
- NodeLink The details of a link's destination, or an image's source.
- NodeList The metadata of a list; the kind of list, the delimiter used and so on.
- NodeTable The metadata of a table
- NodeWikiLink The details of a wikilink's destination.
- Sourcepos Represents the position in the source Markdown this node was rendered from.
Enums
- ListDelimType The delimiter for ordered lists, i.e. the character which appears after each number.
- ListType The type of list.
- NodeValue The core AST node enum.
- TableAlignment Alignment of a single table cell.
- ValidationError Validation errors produced by [Node::validate].
Functions
- can_contain_type Returns true if the given node can contain a node with the given value.
Type Aliases
- AstNode The type of a node within the document.