mdast2docx logo Md2Docx
Version 1.8.0API DocsInterfaces

Root

Updated 5 min ago

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

Document fragment or a whole document.

Should be used as the root of a tree and must not be used as a child.

Extends

Properties

children

children: RootContent[]

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

List of children.

Inherited from

Parent.children

data?

optional data?: RootData

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

Data associated with the mdast root.

Overrides

Parent.data

position?

optional position?: Position

Defined in: node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts:103

Position of a node in a source document.

Nodes that are generated (not in the original source document) must not have a position.

Inherited from

Parent.position

type

type: "root"

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

Node type of mdast root.

Overrides

Parent.type

On this page