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.

Example

declare module 'mdast' { interface BlockContentMap { // Allow using math nodes defined by remark-math. math: Math; } }

Hierarchy

  • BlockContentMap

Properties

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

Generated using TypeDoc