Skip to content
PluginStats

MDX Preview installs statistics

By Xiaoyi Chen · VS Code Marketplace · Programming Languages

MDX Preview

View on VS Code Marketplace Fresh · Oct 18, 2026

MDX Preview has 207,977 recorded installs on VS Code Marketplace.

It ranks #1461 of 2,500 tracked VS Code Marketplace listings by installs.

It is rated 5.0 out of 5 from 4 ratings.

PluginStats has 3 daily observations since Oct 16, 2026; the latest is from Oct 18, 2026.

Installs
207,977
Official API · Oct 18, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1461
Among tracked VS Code Marketplace listings

Rating: 5.00 / 5 from 4 ratings

About MDX Preview

MDX Preview for Visual Studio Code

Please consider supporting the development of this project by ♡ GitHub Sponsorship. You'll have profile badge displayed on the sponsors page!

New in v0.2: Type Script Preview and Hot Update https://vimeo.com/334605913

MDX Preview lets you preview MDX seamlessly. Write markdown / JSX, see it live refresh and get instant visual feedback.

Features

Instant preview as you type without starting a dev server or building

To get started:

1. Run yarn install or npm install if necessary so that you have the npm dependencies in your workspace, and navigate to your md or mdx file; or just create an untitled file, change language mode (from command palette) to mdx and type some mdx code. 2. Open command palette, and type "MDX: Open Preview"; or click the magnifying glass.

Preview will automatically update when you change the file you are previewing or the files that currently previewed file depends on.

MDX Extension is recommended for syntax highlighting of MDX files.

Custom Layout

You can apply custom layout to the MDX file by

1. Exporting a default layout value using export default

2. Specifying a path to a custom layout config file in mdx-preview.preview.mdx.customLayoutFilePath extension setting. For example, the absolute path to the ../components/Layout file above.

3. When nothing is specified, by default it will apply VS Code Markdown styles. You can turn that off by mdx-preview.preview.useVscodeMarkdownStyles extension settings or "MDX: Toggle VSCode Markdown Styles" command.

MDX transclusion

You can import other files with .md or .mdx extension.

JavaScript/TypeScript Preview

If you have a JavaScript or TypeScript file that renders to the #root element, you can also preview that using MDX Preview. For example, you can preview the index.js file from your react app:

Note that VS Code webview has some limitations:

• Service worker / Local storage are not available. • Use MemoryRouter if you are using React Router.

Security

Code will only be evaluated inside VS Code extension webview's isolated iframe. The MDX files can only require dependencies within your active workspace folders. By default, only HTTPS content is allowed within the webview. Of course, you still need to make sure you trust the MDX file you preview, AND trust the files inside your workspace. Note that with the default Content Security Policy, you would not be able to preview a LiveEditor. You can change your security settings through mdx-preview.preview.security extension setting or "MDX: Change Security Settings" command.

Extension Settings

This extension contributes the following settings:

• mdx-preview.preview.previewOnChange: If set to true, previews on file change; If set to false, previews on file save • mdx-preview.preview.security: Security policy settings • mdx-preview.preview.useVscodeMarkdownStyles: Use VS Code Markdown Styles for layout. • mdx-preview.preview.useWhiteBackground: Use white background regardless of current theme settings. • mdx-preview.preview.mdx.customLayoutFilePath: Path of custom layout file to use • mdx-preview.build.useSucraseTranspiler: Use sucrase as transpiler (A faster alternative to babel) instead of Babel/TypeScript transpiler

FAQ

How it works

MDX Preview transpiles your .mdx file using @mdx-js/mdx, sends the initial file to the webview, and recursively fetches local dependencies (from your workspace) and npm dependencies (from node_modules directory) from your workspace using polestar, a commonjs-ish module loader for browsers. MDX Preview has provided built-in dependencies for MDX rendering like react, react-dom and @mdx-js/tag.

Some components doesn't work?

In most cases runtime errors will surface in react-error-overlay. If it doesn't, you can open "Developer: Open Webview Developer Tools" (from command palette) to inspect the error. Note that VS Code webview has some inherent limitations that might cause errors. For example, components that use local storage but without a try/catch block.

Build issues? Try checking mdx-preview.build.useSucraseTranspiler extension setting. It might solve it.

Road map

• [x] TypeScript support • [ ] Scroll Sync • [ ] remark/rehype plugins • [ ] Integrations with gatsby / x0 /...

Acknowledgements

This extension is not possible without the help from James and the open source polestar library.

Saying thanks to these awesome open source projects as well: • Codesandbox preview for Atom for the idea of recursively resolving dependencies in the workspace and presenting in a preview. • @mdx-js/mdx for creating the authorable format • gatsby-mdx for properly doing MDX layout • markdown-language-features for the markdown stylings and lessons on how to write a preview extension • codesandbox for inspirations on a rapid feedback loop • mdx extension for mdx language contrib

Description from the VS Code Marketplace listing.

  • JavaScript
  • keybindings
  • markdown
  • Markdown React
  • mdx
  • Preview
  • React

Where MDX Preview sits in the listing

Each band is one page of 20. Installs on a log scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All VS Code Marketplace2,500 listings · 125 pages · page 74, #1 (overall #1461)
All VS Code Marketplace: every listing in installs order
PNG SVG
Programming Languages792 listings · 40 pages · page 26, #9 (overall #509)
Programming Languages: every listing in installs order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

MDX Preview installs on VS Code Marketplace, last 90 days: 207,977 installs as of Oct 18, 2026.MDX PreviewInstalls on VS Code Marketplace · Last 90 days207,977installs207.9K207.9K207.9K207.9K208K208K208K208KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct…pluginstats.com
MDX Preview installs on VS Code Marketplace, last 90 days: 207,977 installs as of Oct 18, 2026.
PNG SVG

7/30/90-day growth

MDX Preview installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.MDX PreviewInstalls growth on VS Code Marketplace207,977installs now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
MDX Preview installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.
PNG SVG

Ranking history

MDX Preview VS Code Marketplace ranking history: currently #1461 (by installs).MDX PreviewVS Code Marketplace ranking · by installs · Last 90 days#1461current rank#1459#1460#1461#1462#1463Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
MDX Preview VS Code Marketplace ranking history: currently #1461 (by installs).
PNG SVG

Ratings over time

MDX Preview ratings on VS Code Marketplace, last 90 days: 4 ratings as of Oct 18, 2026.MDX PreviewRatings on VS Code Marketplace · Last 90 days4ratings3.63.844.24.4Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct…pluginstats.com
MDX Preview ratings on VS Code Marketplace, last 90 days: 4 ratings as of Oct 18, 2026.
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (3)
Recent installs observations for MDX Preview
Date (UTC)InstallsChange vs. previous
207,977+26
207,951+35
207,916—

Similar VS Code Marketplace Programming Languages plugins

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=xyc.vscode-mdx-preview. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.