How to Preview Markdown on Mac from Finder

Preview a Markdown file from Finder with Quick Look, compare the source with rendered output, and troubleshoot plain-text previews.

Quick Look lets you inspect a file without opening a full editor. Select a Markdown file in Finder and press Space. What you see depends on the preview support installed on your Mac: some setups show Markdown source rather than rendered headings and lists.

Try a small example

Download the sample Markdown file. It includes a heading, a checklist, a fenced code block, and a table so you can compare the same document across previews.

  1. Locate the saved .md file in Finder and click it once.
  2. Press Space to open Quick Look. Press Space again or Escape to close it.
  3. Look for a visual heading and bold text. Then check how your renderer treats the table and task list. Those extensions vary more across apps.

Apple documents the Quick Look shortcut and the Finder Preview pane, available via View → Show Preview. Neither guarantees a particular Markdown renderer.

If you see source instead of a rendered page

Open the file in a Markdown editor that offers a preview, or install a trusted Quick Look extension that supports Markdown. Follow its setup instructions, then close and reopen Quick Look. Check the file extension and the app’s compatibility if the preview still does not change. Rendering can vary for tables, task lists, diagrams, and other features outside basic Markdown.

If an image appears broken

Check the path from the folder containing the Markdown file. For example, images/diagram.png expects an images folder next to the document. If the file was downloaded on its own or the renderer restricts access outside the document folder, the image may be unavailable. Keep the image next to the document when testing, then use the app’s folder or workspace access setting if it has one.

Preview without moving your files

Quartz makes PeekMark, a Mac Markdown workspace with Quick Look and local rendering. It can be useful when you want a rendered Finder preview as well as a workspace for your existing files. Review the product’s current installation and extension setup instructions for your macOS version.

Previewing a file is not the same as validating its output everywhere. If you publish to a particular platform, check the final result there too; Markdown features and rendering rules can differ.

Sources