Skip to main content
Create document structure with six heading levels. Use headings to organize content hierarchically. Press Cmd+Option+1-6 for quick heading shortcuts.

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:
levels
Array<number>
default:"[1,2,3,4,5,6]"
Supported heading levels

Attributes

Node attributes that can be set and retrieved:
level
number
required
Heading level (1-6)

Commands

setHeading

Set a heading with specified level
Converts current block to heading
Example:
Parameters:
attributes
HeadingAttributes
required
Heading attributes including level

toggleHeading

Toggle between heading and paragraph
Switches between heading and paragraph for the same level
Example:
Parameters:
attributes
HeadingAttributes
required
Heading attributes including level

Keyboard shortcuts

Source code