react-markdown vs MDX
In 4,864 JavaScript/TypeScript projects set up for AI coding agents, react-markdown is a dependency in 249 (5.1%) and MDX in 65 (1.3%): react-markdown is 3.8× as common. Among repos created in the last 90 days that use a markdown, editors and content tool, react-markdown is in 33.3% and MDX in 11.1%, against 27.5% and 7.1% of older ones. 13 projects list both, often a sign of a migration or of a monorepo with several apps.
Markdown, editors and content npm Updated Nov 17, 2026
| react-markdown | 5.1% | |
|---|---|---|
| MDX | 1.3% |
Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.
Side by side
| react-markdown | MDX | |
|---|---|---|
| Agent projects that use it | 249 | 65 |
| Rank in markdown, editors and content | #1 | #10 |
| In new repos with a markdown, editors and content tool (last 90 days) | 33.3% | 11.1% |
| In older repos with one | 27.5% | 7.1% |
| Downloads, last 7 days | 58.3M | 30.7M |
| GitHub stars | 15.9K | 19.9K |
| Last push to its repo | Oct 3, 2026 | Nov 11, 2026 |
| License | MIT | MIT |
| Funding | Yes | Yes |
| Projects that list both | 13 | |
Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.
By coding agent
| Projects set up for | JavaScript/TypeScript repos | react-markdown | MDX |
|---|---|---|---|
| Claude Code | 2,617 | 5.8% | 1.5% |
| GitHub Copilot | 2,350 | 4.9% | 1.7% |
| Cursor | 1,990 | 5.4% | 1.3% |
| Gemini CLI | 422 | 7.8% | 2.1% |
| OpenAI Codex | 409 | 4.4% | 1.2% |
| OpenCode | 304 | 3.9% | 0% |
| OpenClaw | 241 | 7.5% | 4.6% |
| Devin Desktop | 231 | 6.1% | 2.6% |
| Kiro | 125 | 4.0% | 0% |
| Roo-Code | 90 | 5.6% | 0% |
Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.
react-markdown
React component for rendering markdown with customizable component handling.
Most often used with it:
| React | 99.2% of its projects |
|---|---|
| Lucide React | 76.7% of its projects |
| remark-gfm | 66.3% of its projects |
| Tailwind Merge | 67.5% of its projects |
| Tailwind CSS | 87.6% of its projects |
npm install react-markdown
MDX
Write JSX directly in Markdown for rich, interactive content and documentation.
Most often used with it:
| clsx | 66.2% of its projects |
|---|---|
| remark-gfm | 46.2% of its projects |
| React | 76.9% of its projects |
| tsx | 50.8% of its projects |
| TypeScript | 95.4% of its projects |
npm install @mdx-js/react
More matchups
react-markdown vs MarkedMarked vs MDXMarked vs markdown-itShiki vs highlight.js
How we count
Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.