Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

mdx

> 前端框架
Open source

Markdown for the component era

19.7K stars0 likes1 views
WebsiteGitHub

About

Markdown for the component era

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. 🚀

mdx
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.

Sponsor

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

Vercel

Motif

HashiCorp

GitBook

Gatsby

Netlify

Coinbase

ThemeIsle

Expo

Boost Note

Markdown Space

Holloway


You?

License

MIT © Compositor and Vercel

Issues· 21 open

View all issuesOpen on GitHub
  • #1619

    Dependency Dashboard

    📦 area/deps🤞 phase/openUpdated Sep 30, 2026
  • #2653

    Do not create newline child when two MDX expressions are adjacent

    🤞 phase/openUpdated Jun 1, 2026
  • #2621

    Add support for `export defer`, when it lands

    🌊 blocked/upstream🤞 phase/openUpdated Jun 26, 2025
  • #2612

    Don't remove curly braces from alt attribute of an image in MDX

    🤞 phase/openUpdated May 8, 2025
  • #2606

    Refactor or remove MDX on demand

    🤞 phase/openUpdated Apr 15, 2025
  • #2536

    Add support for non-identifiers in export/imports

    🌊 blocked/upstreamUpdated Oct 2, 2024
  • #2444

    react hmr (fast refresh) breaks when deleting all content of a mdx file

    🐛 type/bug🗄 area/interface👶 semver/patch🤞 phase/openUpdated Mar 6, 2024
  • #454

    RFC: Multiple MDXs in a Single File

    💬 type/discussion🙆 yes/confirmedUpdated Aug 29, 2023

> Tags

JavaScriptjsxmarkdownmdxreact

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架