Structs§
- Archived
Attribute Node - An archived
AttributeNode - Archived
Code Block Node - An archived
CodeBlockNode - Archived
Component Node - An archived
ComponentNode - Archived
Error Node - An archived
ErrorNode - Archived
Footnote Node - An archived
FootnoteNode - Archived
Image Node - An archived
ImageNode - Archived
Link Node - An archived
LinkNode - Archived
Point - An archived
Point - Archived
Position - An archived
Position - Archived
Root - An archived
Root - Archived
Standard Block Node - An archived
StandardBlockNode - Archived
Text Node - An archived
TextNode - Archived
Variable Node - An archived
VariableNode - Attribute
Node - A single attribute with its own positional data.
- Attribute
Node Resolver - The resolver for an archived
AttributeNode - Auto
Slug - Generates URL-safe slugs for headings and sets the
idfield. - Code
Block Node - A fenced code block with optional language and meta string.
- Code
Block Node Resolver - The resolver for an archived
CodeBlockNode - Component
Node - An RDX component node.
- Component
Node Resolver - The resolver for an archived
ComponentNode - Error
Node - An explicit error node for host-level error boundaries.
- Error
Node Resolver - The resolver for an archived
ErrorNode - Footnote
Node - A footnote node (definition or reference).
- Footnote
Node Resolver - The resolver for an archived
FootnoteNode - Image
Node - An image node with URL, optional title, and alt text.
- Image
Node Resolver - The resolver for an archived
ImageNode - Link
Node - A link node with URL and optional title.
- Link
Node Resolver - The resolver for an archived
LinkNode - Pipeline
- A composable pipeline that parses an RDX document and runs a chain of transforms.
- Point
- Point
Resolver - The resolver for an archived
Point - Position
- Positional data mapping an AST node back to its source
.rdxfile. Line and column numbers are 1-indexed. Offsets are 0-indexed byte offsets. - Position
Resolver - The resolver for an archived
Position - Root
- The root of an RDX document.
- Root
Resolver - The resolver for an archived
Root - Standard
Block Node - A standard CommonMark block node.
- Standard
Block Node Resolver - The resolver for an archived
StandardBlockNode - Table
OfContents - Generates a table of contents from document headings and inserts it
as a
<TableOfContents>component node. - Text
Node - A literal text node.
- Text
Node Resolver - The resolver for an archived
TextNode - Variable
Node - A variable interpolation node.
- Variable
Node Resolver - The resolver for an archived
VariableNode
Enums§
- Archived
Attribute Value - An archived
AttributeValue - Archived
Node - An archived
Node - Archived
Root Type - An archived
RootType - Attribute
Value - Supported attribute value types.
- Attribute
Value Resolver - The resolver for an archived
AttributeValue - Node
- A union of all possible RDX nodes.
- Node
Resolver - The resolver for an archived
Node - Root
Type - Root
Type Resolver - The resolver for an archived
RootType
Traits§
- Transform
- A transform that operates on an RDX AST in place.
Functions§
- collect_
text - Extract plain text from a list of nodes (for generating slugs, alt text, etc).
- parse
- Parse an RDX document string into a compliant AST.
- parse_
with_ defaults - Convenience: parse + apply built-in transforms (slug + toc).
- walk
- Walk all nodes immutably.
- walk_
mut - Walk all nodes in the AST, calling
fon each with a mutable reference. Useful for implementing transforms.