Reference#

Look up Wenmode’s public rules, generated node types, AST shapes, and default HTML output.


This section is split by lookup task so syntax examples, AST shapes, and renderer output stay readable as the rule set grows.

Use these pages after you know which feature you are looking for. If you are still choosing a dialect, start with Presets or Rule matrix.

Each rule entry shows the Markdown input and the AST shape produced by root.to_ast(). The default HTML behavior follows from the built-in renderer for that node type unless the entry says a directive renderer or plugin handler is required.

Rule index#

Area

Rules

Rule matrix

Preset membership, generated nodes, options, and streaming compatibility.

Node model

Node groups, mdast-compatible fields, and AST conventions.

Core block rules

CommonMark blocks, GFM tables and footnotes, task lists, and mdast block directives.

Plugin block rules

Block-level and document-wide syntax provided by built-in plugins.

Core inline rules

CommonMark inlines, GFM strikethrough and autolinks, and mdast text directives.

Plugin inline rules

Inline syntax provided by built-in plugins.

For generated Python API documentation, see API Reference.