OOXML Structure
Use Case
- Headings - Visual hierarchy without changing size
- Key terms - Highlight important concepts
- Warnings - Draw immediate attention
- Emphasis - Stronger than italic
Options
Configure the extension behavior:HTML attributes for the strong element
Attributes
Node attributes that can be set and retrieved:Bold weight value (‘0’ renders as normal)
Commands
setBold
Apply bold formatting
‘0’ renders as normal weight
unsetBold
Remove bold formatting
Example:
toggleBold
Toggle bold formatting
Example:
Keyboard Shortcuts
Command | Shortcut | Description |
---|---|---|
toggleBold() | ⌘/Ctrl-b | Toggle bold formatting |
toggleBold() | ⌘/Ctrl-B | Toggle bold formatting (uppercase) |