Expand description
The CommonMark AST.
Structs§
- Ast
- A single node in the CommonMark AST.
- Line
Column - Represents the 1-based line and column positions of a given character.
- Node
Alert - The metadata of an Alert node.
- Node
Code - An inline code span.
- Node
Code Block - The metadata and data of a code block (fenced or indented).
- Node
Description Item - The metadata of a description list
- Node
Footnote Definition - The metadata of a footnote definition.
- Node
Footnote Reference - The metadata of a footnote reference.
- Node
Heading - The metadata of a heading.
- Node
Html Block - The metadata of an included HTML block.
- Node
Link - The details of a link’s destination, or an image’s source.
- Node
List - The metadata of a list; the kind of list, the delimiter used and so on.
- Node
Math - An inline math span
- Node
Multiline Block Quote - The metadata of a multiline blockquote.
- Node
Short Code shortcodes
- The details of an inline “shortcode” emoji/gemoji.
- Node
Table - The metadata of a table
- Node
Wiki Link - The details of a wikilink’s destination.
- Sourcepos
- Represents the position in the source Markdown this node was rendered from.
Enums§
- Alert
Type - The type of alert.
- List
Delim Type - The delimiter for ordered lists, i.e. the character which appears after each number.
- List
Type - The type of list.
- Node
Value - The core AST node enum.
- Table
Alignment - Alignment of a single table cell.
- Validation
Error - 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.