Apply bold emphasis to make text stand out. The most fundamental text formatting, preserving perfectly through Word import/export.

OOXML Structure

<w:r>
  <w:rPr>
    <w:b/>
  </w:rPr>
  <w:t>Bold text</w:t>
</w:r>

Why you’d use this

  • Headings - Visual hierarchy without changing size
  • Key terms - Highlight important concepts
  • Warnings - Draw immediate attention
  • Emphasis - Stronger than italic

Attributes

value
string
Bold weight value (‘0’ renders as normal)

Commands

setBold

Apply bold formatting
‘0’ renders as normal weight
setBold()

unsetBold

Remove bold formatting
unsetBold()

toggleBold

Toggle bold formatting
toggleBold()

Keyboard Shortcuts

CommandShortcutDescription
toggleBold()⌘/Ctrl-bToggle bold formatting
toggleBold()⌘/Ctrl-BToggle bold formatting (uppercase)