This map registers all node types that may be used where markdown block content is accepted.
These types are accepted inside block quotes, list items, footnotes, and roots.
This interface can be augmented to register custom node types.
declare module 'mdast' { interface BlockContentMap { // Allow using math nodes defined by remark-math. math: Math; } }
remark-math
Generated using TypeDoc
This map registers all node types that may be used where markdown block content is accepted.
These types are accepted inside block quotes, list items, footnotes, and roots.
This interface can be augmented to register custom node types.
Example
declare module 'mdast' { interface BlockContentMap { // Allow using math nodes defined by
remark-math
. math: Math; } }