Heading
Updated 22 Oct 2026
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:692
Markdown heading.
Extends
Properties
children
children: PhrasingContent[]
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:706
Children of heading.
Overrides
data?
optional data?: HeadingData
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:710
Data associated with the mdast heading.
Overrides
depth
depth: 1 | 2 | 3 | 4 | 5 | 6
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:702
Heading rank.
A value of 1 is said to be the highest rank and 6 the lowest.
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
type
type: "heading"
Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:696
Node type of mdast heading.