<!--
title: Preview MDX in Finder: the prose, not the components
description: Press Space on an .mdx file and the import lines are not the article. MD Quick Preview keeps the prose and the code fences. It does not run the components.
published: 2026-11-16
category: mdquickpv
hero: /static/blog/heroes/hero-preview-mdx-finder.png
-->

# Preview MDX in Finder: the prose, not the components

The file is named `page.mdx`. The first lines are an import and a layout wrapper. The article you wanted is underneath, with a heading, a list, and a fenced code block. You press Space in Finder because you want that article, not the module syntax around it.

That is the search for a preview of MDX in Finder. An `.mdx` file is Markdown with components mixed in. A preview that prints every character is honest and hard to read. A preview that runs the components is a different app. [MD Quick Preview](/projects/mdquickpv) sits in the middle: the prose and the fenced code stay, and the module syntax comes out.

## What you see when Space shows the imports

Space opens Quick Look. If no extension is drawing the file, the window is the source. The import stays at the top. The JSX tags stay around the paragraph. You can still find the sentence, but you are reading a source file in a glance that was meant to be a page.

That is a fair result for a plain-text preview. It is a poor result when the question was "what does this page say?" The components are instructions for a build. They are not the paragraph.

## What a Quick Look extension can keep

[QLMarkdown](https://github.com/sbarex/QLMarkdown/) says, on its own page, that it can preview `.mdx` files without JSX rendering. It also says the app is not a standalone editor or viewer. The useful line for this search is the limit: the Markdown text can be drawn, and the components are not executed.

[MD Quick Preview](/projects/mdquickpv) states the same split in its own notes. Quick Look renders `.mdx` files so the prose and the fenced code stay, and the module syntax is removed. Imports, exports, and JSX wrappers drop out. A component file will not look like the running page. Nothing in the file is executed. The preview is drawn on the Mac.

The same preview includes tables, strikethrough, task lists, Mermaid diagrams, and syntax highlighting, and those run offline. A diagram in a fence is a picture in the glance. It is not a reason to open the project.

The footer of a successful preview reads Rendered by MD Quick Preview · v0.1.3. If that line is missing, you are looking at another preview, or at the raw file.

## What this is not

MD Quick Preview is a free Mac app. It is free on the [Mac App Store](/go/mdquickpv/app-store), and a Developer ID-signed zip is on the same page: [download the zip](/go/mdquickpv). There is no account and no paid tier. The free app is the whole preview. It runs on macOS 13 or later. It is not an editor, and it does not replace the dev server. Pressing Space will not mount the layout, fetch data, or show the page a browser would build from that file.

It also previews `.md`, `.markdown`, `.mdown`, and `.mkd`. The [9 November post](/blog/quick-look-markdown-macos-27-3-2026/) is the one for a plain Markdown note and for what the macOS 27.3 reports actually described. This page is the `.mdx` case.

[OpenMark's Quick Look guide](https://openmarkapp.com/blog/quick-look-markdown-mac) answers pressing Space on a `.md` file and compares extensions for tables, code, and diagrams. That comparison does not give `.mdx` its own row. This page leaves other apps' prices on their own sites.

Quick Look is not only Finder. The same extension can answer in ForkLift, Path Finder, and other managers that use Quick Look. macOS still picks one renderer for the type. If two Markdown extensions are on, the glance is not promised. Turn the other one off.

## Turn it on, then press Space

1. Install MD Quick Preview from the Mac App Store, or open the signed zip and move the app to Applications.
2. Launch the app once, so macOS registers the extension.
3. Open System Settings, then General, then Login Items & Extensions, then Quick Look.
4. Enable MD Quick Preview, and turn off any other Markdown preview in that list.
5. In Finder, select the `.mdx` file and press Space.

If the import lines are still the top of the window, the extension is off, another extension won, or the app has not been launched yet. Launch it again and check that list. There is no cloud account to sign into.

The next step is [MD Quick Preview](/projects/mdquickpv), then the [Mac App Store](/go/mdquickpv/app-store) or the [signed zip](/go/mdquickpv).

## References

- [QLMarkdown, by sbarex — Quick Look for Markdown, including MDX without JSX rendering.](https://github.com/sbarex/QLMarkdown/)
- [OpenMark — Quick Look Markdown on Mac.](https://openmarkapp.com/blog/quick-look-markdown-mac)
