mdast2docx logo Md2Docx
Version 1.6.2API DocsInterfaces

RootContentMap

Updated 5 min ago

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

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.

Extends

Properties

blockquote

blockquote: Blockquote

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

Inherited from

BlockContentMap.blockquote

break

break: Break

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

Inherited from

PhrasingContentMap.break

checkbox

checkbox: Checkbox

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

Inherited from

PhrasingContentMap.checkbox

code

code: Code

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

Inherited from

BlockContentMap.code

definition

definition: Definition

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

delete

delete: Delete

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

Inherited from

PhrasingContentMap.delete

emphasis

emphasis: Emphasis

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

Inherited from

PhrasingContentMap.emphasis

empty

empty: EmptyNode

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

Inherited from

PhrasingContentMap.empty

footnoteDefinition

footnoteDefinition: FootnoteDefinition

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

footnoteReference

footnoteReference: FootnoteReference

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

Inherited from

PhrasingContentMap.footnoteReference

fragment

fragment: Fragment

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

Inherited from

PhrasingContentMap.fragment

heading

heading: Heading

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

Inherited from

BlockContentMap.heading

html

html: Html

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

Inherited from

PhrasingContentMap.html

image

image: Image

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

Inherited from

PhrasingContentMap.image

imageReference

imageReference: ImageReference

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

Inherited from

PhrasingContentMap.imageReference

inlineCode

inlineCode: InlineCode

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

Inherited from

PhrasingContentMap.inlineCode

link: Link

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

Inherited from

PhrasingContentMap.link

linkReference

linkReference: LinkReference

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

Inherited from

PhrasingContentMap.linkReference

list

list: List

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

Inherited from

BlockContentMap.list

listItem

listItem: ListItem

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

paragraph

paragraph: Paragraph

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

Inherited from

BlockContentMap.paragraph

strong

strong: Strong

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

Inherited from

PhrasingContentMap.strong

svg

svg: SVG

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

Inherited from

PhrasingContentMap.svg

table

table: Table

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

Inherited from

BlockContentMap.table

tableCell

tableCell: TableCell

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

tableRow

tableRow: TableRow

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

text

text: Text

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

Inherited from

PhrasingContentMap.text

thematicBreak

thematicBreak: ThematicBreak

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

Inherited from

BlockContentMap.thematicBreak

yaml

yaml: Yaml

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

On this page