Registry of all mdast nodes that can occur where BlockContent is expected.

This interface can be augmented to register custom node types:

declare module 'mdast' {
interface BlockContentMap {
// Allow using MDX ESM nodes defined by `remark-mdx`.
mdxjsEsm: MdxjsEsm;
}
}

For a union of all block content, see RootContent.

interface BlockContentMap {
    blockquote: Blockquote;
    code: Code;
    heading: Heading;
    html: Html;
    list: List;
    paragraph: Paragraph;
    table: Table;
    thematicBreak: ThematicBreak;
}

Properties

blockquote: Blockquote
code: Code
heading: Heading
html: Html
list: List
paragraph: Paragraph
table: Table
thematicBreak: ThematicBreak