Preview Markdown in Finder with Quick Look on Mac
Press Space to see formatted markdown.
How It Works
macOS Quick Look lets you preview files by pressing Space in Finder. It works with images, PDFs, text files — and with Peekdown installed, it works with markdown too.
Select any .md file in Finder. Press Space. You'll see a fully rendered preview with GitHub-style formatting — not raw markup. Press Space again to dismiss. That's it.
No app to launch, no window to manage, no waiting. Quick Look is instant because it's built into macOS. Peekdown just teaches it how to render markdown.
Why Does Quick Look Show Raw Markdown?
macOS doesn't come with a Markdown renderer for Quick Look. As far as macOS is concerned, a .md file is a text file, so pressing Space shows you plain text, with every #, * and | exactly as you typed it.
To see it formatted, you need an app that adds a Quick Look extension for Markdown. Peekdown installs one.
If you were using an older Quick Look plugin (the kind whose file name ends in .qlgenerator), it stopped working in macOS 15 Sequoia. Apple dropped support for those plugins, and only extensions that come with an app work now.
If Peekdown is installed and you still see raw text, check whether another app's Quick Look extension is handling Markdown files. Code editors like Nova add their own. Turn it off in System Settings > General > Login Items & Extensions > Quick Look and Peekdown takes over. If that doesn't do it, the Quick Look docs have one more fix.
Why Do .md Files Open in Xcode?
When you install Xcode, it tells macOS it can edit Markdown files. That's why double-clicking a .md file can open Xcode.
To change it, right-click any .md file in Finder and choose Get Info. Under Open with, pick Peekdown and click Change All…. Every Markdown file opens in Peekdown after that.
What Renders in Quick Look
Peekdown's Quick Look extension renders the full range of GitHub-Flavored Markdown:
- Tables — properly aligned with header styling
- Fenced code blocks — with syntax highlighting for 100+ languages
- Task lists — checkboxes rendered visually
- Strikethrough, bold, italic — all inline formatting
- Headings and horizontal rules — clean visual hierarchy
- Links and images — clickable links and inline images
- Blockquotes — styled with left border accent
The preview follows your system appearance — light mode or dark mode — automatically.
Supported File Types
Quick Look preview works with all common markdown extensions:
.md.mdx.markdown.mdown.mkd
Peekdown vs. QLMarkdown
QLMarkdown is a free, open-source Quick Look extension by sbarex on GitHub. It's actively maintained and has a lot of settings to play with. If formatted previews in Finder are all you want, it's a good place to start.
You install it from GitHub or with Homebrew (brew install --cask qlmarkdown), then open the app once so macOS finds the extension. The app is only there for settings; it doesn't open your files.
| Peekdown | QLMarkdown | |
|---|---|---|
| Price | $9.99, one time | Free |
| Where to get it | Mac App Store | GitHub or Homebrew |
| Math and Mermaid in Quick Look | Built in, works offline | Loaded from the web unless you switch to embedded |
| Obsidian callouts | Yes | GitHub's five alert types only |
| Wikilinks | Yes | Yes, once you turn them on |
| Local images in Quick Look | No, open the file in Peekdown to see them | Yes, from the same folder |
| App for reading and editing | Yes | No |
Don't keep both turned on. When two extensions handle the same file type, macOS picks which one shows the preview, and you don't get a say. Turn off the one you're not using in System Settings.
If you also want an app to read and edit Markdown in, or your notes use Obsidian syntax, that's what Peekdown is for. For other ways to read Markdown on a Mac, see How to Preview Markdown on a Mac.
Beyond Quick Look
Peekdown is also a standalone markdown viewer and editor. Open any markdown file for a full-window preview with side-by-side editing (⌘⇧E), zoom controls, pin-on-top, and file watching that tells you when another app changes the file and shows what changed.
If you work with Obsidian, Peekdown also renders Obsidian-specific syntax — callouts, wikilinks, highlights, and tags — in both Quick Look and the app.
Setup
Install Peekdown from the Mac App Store. The Quick Look extension is enabled automatically — no configuration needed.