Chapter 12

Use Edit, Preview, and Side by Side

Edit#

Edit shows the source and accepts changes. Use it for writing, literal search, replacements, and source-level inspection.

Preview#

Choose View ▸ Preview (⇧⌘P) or the mode control. Preview compiles the active profile’s structure with the chosen Render Theme. It is intentionally read-only. Use it to evaluate hierarchy, spacing, links, equations, diagrams, charts, and export appearance.

Side by Side#

Choose View ▸ Side by Side (⌃⌘P). Source appears beside Preview and updates as you type. Scrolling is synchronized by headings where possible, with proportional fallback. Find in the source highlights related Preview text. Go to Line moves the editor and follows in Preview.

Hide the sidebar when both panes feel narrow. A narrow window may be better served by switching between Edit and Preview.

Diagnose an unexpected Preview#

Check these in order:

  1. Is the intended syntax profile active?
  2. Is the source structurally valid for that profile?
  3. Is the intended Render Theme selected?
  4. Are optional CommonMark features enabled?
  5. Is a supplemental block labeled with a supported language?

This order separates meaning problems from styling problems.