Chapter 57

The Format menu

The Format menu applies styles to the selection, or to the line the caret is on, through the active syntax profile. If the profile has no way to write a style, the item is greyed out along with its shortcut, so a command never inserts syntax the profile will not read back. Every item is off in Preview.

Inline styles#

ItemShortcutWhat it does
Strong⌘BBold.
Emphasis⌘IItalic.
Strikethrough⌃⇧ ``Struck-through text.
Code` ⌃ `` | Inline code.
HighlightnoneMarked text. Needs Library ▸ CommonMark Options ▸ Highlight to be on.
Subscript, SuperscriptnoneText below or above the line. Each needs its CommonMark option on.
Inline Math⌃MAn inline equation. Needs the Inline math option on.
Hyperlink⌘KMakes the selection a link, or inserts one.
Clear Format⌘\Removes the formatting from the selection.

Paragraph#

The Paragraph submenu changes what a whole line or block is.

ItemShortcut
Paragraph (plain text)⌘0
Heading 1 to Heading 6⌘1 to ⌘6
Increase Heading Level⌘=
Decrease Heading Level⌘-
Unordered List⌥⌘U
Ordered List⌥⌘O
Task List⌥⌘X
Toggle Task Statusnone
Indent⌘]
Outdent⌘[
Blockquote⌥⌘Q
Code Fences⌥⌘C
Table ▸ Insert Table…⌥⌘T
Table ▸ Add Row Above, Add Row Below, Delete Rownone
Table ▸ Add Column Before, Add Column After, Delete Columnnone
Insert Image…⇧⌘I
Alert ▸ Note Block, Tip Block, Important Block, Warning Block, Caution Blocknone
Horizontal Line⌥⌘-
Link Reference⌥⌘K
Footnote⌥⌘R
Table of Contentsnone
YAML Front Matternone

The table items work on the table the caret is in.

The shortcuts for Strong, Emphasis, Code, Inline Math, Strikethrough, Hyperlink and Clear Format can be changed in Settings ▸ Keyboard. The Paragraph shortcuts are fixed.