Markdown heading.
children:
PhrasingContent
[]
Children of heading.
node_modules/@types/mdast/index.d.ts:706
optional
data:HeadingData
Data associated with the mdast heading.
node_modules/@types/mdast/index.d.ts:710
depth:
1
|2
|3
|4
|5
|6
Heading rank.
A value of 1
is said to be the highest rank and 6
the lowest.
node_modules/@types/mdast/index.d.ts:702
optional
position:Position
Position of a node in a source document.
Nodes that are generated (not in the original source document) must not have a position.
node_modules/@types/unist/index.d.ts:103
type:
"heading"
Node type of mdast heading.
node_modules/@types/mdast/index.d.ts:696