OOXML Structure
Use case
- Document structure - Create logical hierarchy and navigation
- Accessibility - Screen readers use headings for navigation
- SEO - Search engines parse heading structure
- Table of contents - Auto-generate from heading levels
Options
Configure the extension behavior:Array<number>
default:"[1,2,3,4,5,6]"
Supported heading levels
Attributes
Node attributes that can be set and retrieved:number
required
Heading level (1-6)
Commands
setHeading
Set a heading with specified level
Converts current block to heading
HeadingAttributes
required
Heading attributes including level
toggleHeading
Toggle between heading and paragraph
Switches between heading and paragraph for the same level
HeadingAttributes
required
Heading attributes including level

