Section
Section =
BaseNode&object
Defined in: types/ast.generated.ts:10
AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
Generated from: schema/spec-ast.schema.json Generated at: 2026-01-02T15:58:42.008Z
Regenerate with: npx ts-node scripts/generate-types.ts
Type Declaration
Section titled “Type Declaration”children
Section titled “children”children: (
Section|Block)[]
heading?
Section titled “heading?”
optionalheading:BaseNode&object
Optional section heading
Type Declaration
Section titled “Type Declaration”children
Section titled “children”children:
Inline[]
depth:
number
optionalid:string
Optional explicit heading ID
type:
"heading"
unnumbered?
Section titled “unnumbered?”
optionalunnumbered:boolean
If true, the section created from this heading will be unnumbered.
optionalid:string
Optional explicit section identifier
type:
"section"
unnumbered?
Section titled “unnumbered?”
optionalunnumbered:boolean
If true, this section and its descendants do not increment the TOC counter at this level.