mdast2docx logo Md2Docx
Version 1.8.1API DocsInterfaces

RootContentMap

Updated 22 Oct 2026

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

Registry of all mdast nodes that can occur as children of Root.

Note: Root does not need to be an entire document. it can also be a fragment.

This interface can be augmented to register custom node types:

declare module 'mdast' {
  interface RootContentMap {
    // Allow using toml nodes defined by `remark-frontmatter`.
    toml: TOML;
  }
}

For a union of all Root children, see RootContent.

Properties

blockquote

blockquote: Blockquote

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

break

break: Break

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

checkbox

checkbox: Checkbox

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

code

code: Code

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

definition

definition: Definition

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

delete

delete: Delete

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

emphasis

emphasis: Emphasis

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

empty

empty: EmptyNode

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

footnoteDefinition

footnoteDefinition: FootnoteDefinition

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

footnoteReference

footnoteReference: FootnoteReference

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

fragment

fragment: Fragment

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

heading

heading: Heading

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

html

html: Html

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

image

image: Image

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

imageReference

imageReference: ImageReference

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

inlineCode

inlineCode: InlineCode

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

inlineMath

inlineMath: InlineMath

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

link: Link

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

linkReference

linkReference: LinkReference

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

list

list: List

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

listItem

listItem: ListItem

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

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:105

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:273

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

mdxJsxTextElement

mdxJsxTextElement: MdxJsxTextElement

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:277

MDX JSX element node, occurring in text (phrasing).

paragraph

paragraph: Paragraph

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

strong

strong: Strong

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

svg

svg: SVG

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

table

table: Table

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

tableCell

tableCell: TableCell

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

tableRow

tableRow: TableRow

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

text

text: Text

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

thematicBreak

thematicBreak: ThematicBreak

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

yaml

yaml: Yaml

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

On this page