mdast2docx logo Md2Docx
Version 1.8.1API DocsInterfaces

BlockContentMap

Updated 22 Oct 2026

Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:160

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.

Properties

blockquote

blockquote: Blockquote

Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:161

code

code: Code

Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:162

fragment

fragment: Fragment

Defined in: packages/mdast/src/index.ts:62

heading

heading: Heading

Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:163

html

html: Html

Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:164

list

list: List

Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:165

math

math: Math

Defined in: node_modules/.pnpm/mdast-util-math@3.0.0_supports-color@7.2.0/node_modules/mdast-util-math/index.d.ts:96

mdxJsxFlowElement

mdxJsxFlowElement: MdxJsxFlowElement

Defined in: node_modules/.pnpm/mdast-util-mdx-jsx@3.2.0_supports-color@7.2.0/node_modules/mdast-util-mdx-jsx/index.d.ts:259

MDX JSX element node, occurring in flow (block).

paragraph

paragraph: Paragraph

Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:166

table

table: Table

Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:167

thematicBreak

thematicBreak: ThematicBreak

Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:168

On this page