Registry of all mdast nodes that can occur as children of Root.
Note: Root does not need to be an entire document. it can also be a fragment.
This interface can be augmented to register custom node types:
declare module 'mdast' { interface RootContentMap { // Allow using toml nodes defined by `remark-frontmatter`. toml: TOML; }} Copy
declare module 'mdast' { interface RootContentMap { // Allow using toml nodes defined by `remark-frontmatter`. toml: TOML; }}
For a union of all Root children, see RootContent.
Registry of all mdast nodes that can occur as children of Root.
This interface can be augmented to register custom node types:
For a union of all Root children, see RootContent.