RootContentMap

Defined in: 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/@types/mdast/index.d.ts:329


break

break: Break

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


code

code: Code

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


definition

definition: Definition

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


delete

delete: Delete

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


emphasis

emphasis: Emphasis

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


footnoteDefinition

footnoteDefinition: FootnoteDefinition

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


footnoteReference

footnoteReference: FootnoteReference

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


heading

heading: Heading

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


html

html: Html

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


image

image: Image

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


imageReference

imageReference: ImageReference

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


inlineCode

inlineCode: InlineCode

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


link: Link

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


linkReference

linkReference: LinkReference

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


list

list: List

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


listItem

listItem: ListItem

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


paragraph

paragraph: Paragraph

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


strong

strong: Strong

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


table

table: Table

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


tableCell

tableCell: TableCell

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


tableRow

tableRow: TableRow

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


text

text: Text

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


thematicBreak

thematicBreak: ThematicBreak

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


yaml

yaml: Yaml

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