Text formatting

Text formatting extensions mark parts of a text as bold, italic, linked, or highlighted, the formatting people apply to words and phrases while they write.

When you use them

  • Emphasis. Bold, Italic, Underline, and Strike stress a word or show that it is removed.
  • References. Link points to another page; Code marks a name or a command inside a sentence.
  • Highlights. Highlight colors a passage, for example to mark something to review.
  • Scientific and language notation. Subscript and Superscript set formulas and footnote markers; Ruby text adds reading guides above characters.

How they work

  • They are marks. A mark applies to a range of text inside a block, such as a paragraph or a heading. Several marks can apply to the same text. Nodes and marks
  • Most come with the StarterKit. Bold, Code, Italic, Link, Strike, and Underline are part of the StarterKit; the others you add yourself.
  • Keyboard shortcuts and Markdown shortcuts. Most marks have a keyboard shortcut, and typing Markdown, such as **bold**, applies them while you write. Keyboard shortcuts