T
MarkdownNode
One node of a parsed Markdown tree; type names the rule that parsed it.
type MarkdownNode = { … }Members
content?
MarkdownNode[] | stringThe node's children, or its text for a leaf rule; absent when a rule stores its data elsewhere.
type
stringThe name of the rule that parsed the node, such as text or strong.