Edit Markdown with a live preview on a Mac

draft.mdlive preview

Writing Markdown blind is fine until a table or a nested list goes wrong. A live preview shows the rendered result next to the text as you type. The Mac has no Markdown editor of its own, so here is how the options compare and how MarkPeek's Split view works.

MarkPeek in Split mode with the GitHub theme: Markdown source on the left, the rendered page on the right, and Auto Save and a word count in the status bar

Option 1: TextEdit

TextEdit edits Markdown as plain text and shows no preview. To check your work you save the file, open it somewhere else and look. For a short note that is acceptable; for a long document it is a slow loop.

Option 2: VS Code

VS Code has a built-in Markdown preview that you can open beside the editor and that updates as you type. It is powerful, with search across files and extensions for nearly everything, but it is a full development environment. Many people only want to write a page and see it.

Option 3: A web-based editor

Browser editors give you a split view with no install. Your document is then in a web page, usually with no direct link to the file on disk, so saving means copying text back out. They are poor fits for files that live in folders you already manage.

Where it falls down: each option either lacks a preview, carries more weight than the task needs, or sits away from your files.

The MarkPeek way

MarkPeek edits files in place. It has three view modes in a toolbar picker named "View": Preview, Split and Edit.

  1. Open a Markdown file with ⌘O, or drag it onto the window.
  2. Press ⌘2 for Split. The Markdown source is on the left and the rendered page on the right, in the active theme.
  3. Type. The preview updates, hovering a paragraph highlights it on the other side, and scrolling keeps both sides in step.
  4. Save with ⌘S, or turn on "Auto Save" in the status bar so MarkPeek saves shortly after you stop typing.
  5. Press ⌘1 for a full-width Preview when you want to read the result.
MarkPeek in Preview mode with the Modern theme in dark appearance, showing a sample document with a front matter table, headings, lists and a blockquote

Focus Mode, Find and the Outline

Focus Mode (⌥⌘F) switches to Edit and hides the sidebar and the inspector, leaving only the text. Choose "Exit Focus Mode" from the View menu, or the "Exit Focus" button in the toolbar, to come back.

Find in Document… (⌘F) opens a find bar, with ⌘G for the next match and ⇧⌘G for the previous. The Outline in the sidebar lists the document's headings so you can navigate a long file. The status bar shows your word count, for example "232 words", and the save state: "Saved", "Unsaved changes" or "Saving…".

When the file changes underneath you

If another program changes the file while it is open in MarkPeek, a banner says "This file changed on disk. Your unsaved edits are kept." You can then choose "Reload from Disk" or "Keep Mine". That makes it safe to keep a document open while a script, a sync client or another editor touches it.

A drafting routine that works

Draft in Split view, with "Auto Save" on, so every pause saves your work. When a section is done, press ⌘1 to read the page full width and check headings, lists and tables the way a reader will see them. Switch the theme to something plain or serif to judge the text itself, then return to your usual one. Press ⌥⌘F for Focus Mode when you just want to write.

Settings that affect editing

What the editor is and is not

MarkPeek is built as a reader first, with an editor for the text itself. The preview supports CommonMark, tables, task lists, math and Mermaid, but footnotes, alert blocks, emoji shortcodes and wiki links are not rendered. If you rely on those, keep a different editor for those files.

Frequently asked questions

Does MarkPeek have a live preview?

Yes. Split view (⌘2) shows the Markdown source beside the rendered page, and it updates as you type.

Does it save automatically?

Optionally. Turn on "Auto Save" in the status bar or "Save automatically while editing" in Settings. By default it does not autosave.

Can I edit and read in separate windows?

The three view modes (Preview, Split, Edit) share one window. Use Split to see both at once.

What happens if I edit the file in another app?

MarkPeek notices the change on disk, keeps your unsaved edits and lets you choose "Reload from Disk" or "Keep Mine".

Related guides