You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Abstract Syntax Tree (AST) is a structured representation of parsed markdown. Each node in the AST has a `type` property that identifies its kind, and type-specific properties.
961
962
962
-
**Important:** The first node in the AST is typically a `RuleType.refCollection` node that contains all reference definitions found in the document. This node is skipped during rendering but is useful for accessing reference data.
963
+
**Important:** The first node in the AST is typically a `RuleType.refCollection` node that contains all reference definitions found in the document, including footnotes (stored with keys prefixed with `^`). This node is skipped during rendering but is useful for accessing reference data. Footnotes are automatically extracted from the refCollection and rendered in a `<footer>` element by both `compiler()` and `astToJSX()`.
963
964
964
965
### Node Types
965
966
@@ -1029,7 +1030,9 @@ The AST consists of the following node types (use `RuleType` to check node types
0 commit comments