mdx-js/mdx

Markdown for the component era

19,778

stars

1,772

commits

JavaScript

primary language

Sep 2, 2026

updated

mdxjs.com
jsx
markdown
mdx
react
remark
unified
vue

README

MDX

Markdown for the component era

Build Coverage Sponsors Backers Chat

MDX is an authorable format that lets you seamlessly write JSX in your markdown documents. You can import components, such as interactive charts or alerts, and embed them within your content. This makes writing long-form content with components a blast. 🚀

import {Chart} from './snowfall.js'
export const year = 2013

# Last year’s snowfall

In {year}, the snowfall was above average.
It was followed by a warm spring which caused
flood conditions in many of the nearby rivers.

<Chart year={year} color="#fcb32c" />

See § What is MDX for more info on the format. See § Playground to try it out.

What is this?

This GitHub repository contains several packages for compiling the MDX format to JavaScript, integrating with bundlers such as webpack and Rollup, and for using it with frameworks such as React, Preact, and Vue.

See § Getting started for how to integrate MDX into your project.

Security

See § Security on our site for information.

Contribute

See § Contribute on our site for ways to get started. See § Support for ways to get help.

This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.

See § Sponsor on our site for how to help financially.

License

MIT © Compositor and Vercel

Contributors

(top 30 of 180)

johno

727 commits

wooorm

367 commits

renovate[bot]

224 commits

timneutkens

58 commits

mdx-js/mdx

Markdown for the component era

19,778

stars

1,772

commits

JavaScript

primary language

Sep 2, 2026

updated

mdxjs.com
jsx
markdown
mdx
react
remark
unified
vue

README

MDX

Markdown for the component era

Build Coverage Sponsors Backers Chat

MDX is an authorable format that lets you seamlessly write JSX in your markdown documents. You can import components, such as interactive charts or alerts, and embed them within your content. This makes writing long-form content with components a blast. 🚀

import {Chart} from './snowfall.js'
export const year = 2013

# Last year’s snowfall

In {year}, the snowfall was above average.
It was followed by a warm spring which caused
flood conditions in many of the nearby rivers.

<Chart year={year} color="#fcb32c" />

See § What is MDX for more info on the format. See § Playground to try it out.

What is this?

This GitHub repository contains several packages for compiling the MDX format to JavaScript, integrating with bundlers such as webpack and Rollup, and for using it with frameworks such as React, Preact, and Vue.

See § Getting started for how to integrate MDX into your project.

Security

See § Security on our site for information.

Contribute

See § Contribute on our site for ways to get started. See § Support for ways to get help.

This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.

See § Sponsor on our site for how to help financially.

License

MIT © Compositor and Vercel

Contributors

(top 30 of 180)

johno

727 commits

wooorm

367 commits

renovate[bot]

224 commits

timneutkens

58 commits

Languages

JavaScript

100.0%