Preview Markdown In Finder

Select a .md file, press Space and read it rendered, on macOS 13 or later

Why Quick Look Shows Plain Text

macOS has no Markdown previewer of its own. When you press Space on a .md file, Quick Look finds nothing that renders Markdown and shows the raw text: the # marks, asterisks and table pipes, not the document they describe.

Quick Look gets new file types from extensions that apps install. spacebar is one, for Markdown: free, open source under MIT, and made for exactly this.

Install It

Paste this in Terminal:

curl -fsSL https://spacebar.patebryant.com/install.sh | sh

It downloads the latest release from GitHub, checks its SHA-256, installs to ~/Applications without sudo and turns the extension on. spacebar isn’t notarized yet, which is why it installs from Terminal rather than a download, so read the script first if you like.

Press Space

  1. Select a .md or .markdown file in Finder.
  2. Press Space. Quick Look shows it rendered.
  3. Move through a folder with the arrow keys; the preview follows the selection.
  4. Press Space again, or Escape, to close it.

What You’ll See

Click a paragraph to edit it, or tick a task, and it saves to the file. The preview redraws when the file changes on disk and keeps your place.

Still Seeing Plain Text

Another Quick Look extension that claims Markdown, such as QLMarkdown, may be taking the file. The installer lists any that are on and says how to turn them off, and spacebar’s General settings list other Markdown previewers, such as QLMarkdown, and whether they’re on. qlmanage -r in Terminal resets Quick Look if an old preview sticks.

Want to see it first? The home page runs the app’s own preview in your browser: try it.