Interface BlockContentMap

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; } }


  • BlockContentMap


blockquote: Blockquote
code: Code
heading: Heading
html: HTML
list: List
paragraph: Paragraph
table: Table
thematicbreak: ThematicBreak

Generated using TypeDoc