Visual editor

Things that work differently from a word processor:

  • An image's caption is saved as its title: ![alt](path "caption").
  • A code block's settings icon sets its language.
  • Tables always have a header row.
  • Front matter at the top of the file is kept. Edit it in the source editor.
  • Files over 800 KB open in the source editor.

Typing shortcuts

At the start of a line, type the marker and a space.

You type You get
# to ###### Heading 1 to 6
- or * Bullet list
1. Numbered list
> Block quote
``` Code block
--- Horizontal rule

Keyboard shortcuts

On macOS, use Cmd for Ctrl.

CtrlAlt1Heading 1
CtrlAlt2Heading 2
CtrlAlt3Heading 3
CtrlShiftXStrikethrough
Ctrl`Inline code
CtrlShift`Code block
CtrlShiftBQuote
CtrlMInline equation
CtrlShiftMDisplay equation