remark-math
Remark plugin to parse and stringify LaTeX math expressions in markdown documents.
Markdown, editors and content npm MIT
Used in agent projects
63
0.5% of 12,697 public repos built with AI coding agents
Rank in markdown, editors and content
#15 of 46
by use in those projects
Downloads
8.6M
npm, last 7 days, remark-math
GitHub stars
513
last push Feb 20, 2025
How remark-math is used
remark-math is a dependency in 63 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.5%), #15 of 46 in markdown, editors and content. The most used alternative there is react-markdown. Projects that use it most often also use remark-gfm (85.7%), clsx (81.0%), rehype-katex (79.4%).
Often used with remark-math
| remark-gfm | 85.7% of remark-math projects · 37.8× more than average |
|---|---|
| clsx | 81.0% of remark-math projects · 4.6× more than average |
| rehype-katex | 79.4% of remark-math projects · 201.5× more than average |
| Tailwind Merge | 77.8% of remark-math projects · 4.6× more than average |
| Lucide React | 76.2% of remark-math projects · 3.8× more than average |
| Class Variance Authority | 71.4% of remark-math projects · 5.1× more than average |
| Next.js | 76.2% of remark-math projects · 3.4× more than average |
| Tailwind CSS | 93.7% of remark-math projects · 2.7× more than average |
By coding agent
| Cursor | 0.9% of projects set up for it |
|---|---|
| Claude Code | 0.6% of projects set up for it |
| GitHub Copilot | 0.5% of projects set up for it |
| OpenAI Codex | 1.1% of projects set up for it |
Share of public repos configured for each agent that list remark-math as a dependency.
Install
| Package | npm install remark-math |
|---|---|
| Main stacks | Next.js (48), TypeScript / JavaScript (13), Rust (1), Python (1) |
| Example projects | miantiao-me/bm.md, PageAI-Pro/vibe-coding-starter, 1600822305/AetherLink, cdavid817/vanehub-ai, fountain-ink/app |
Alternatives to remark-math
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| react-markdown npm React component for rendering markdown with customizable component handling. |
360 (2.8%) | 37.2M | 15.9K | MIT |
| remark-gfm npm Remark plugin adding GitHub Flavored Markdown support for tables and strikethrough. |
288 (2.3%) | 44.5M | 1,249 | MIT |
| Jinja2 pypi Fast and expressive template engine for Python with powerful flexibility. |
175 (1.4%) | 145M | 11.8K | — |
| Marked npm Fast, efficient markdown parser for converting markdown to HTML. |
148 (1.2%) | 83.8M | 37.2K | MIT |
| React Syntax Highlighter npm React component for syntax highlighting code with Prism.js or Highlight.js. |
110 (0.9%) | 7.8M | 4,674 | MIT |
| gray-matter npm Parser extracting YAML/JSON front matter from markdown and text files. |
106 (0.8%) | 10.6M | 4,490 | MIT |
| Tiptap npm Headless Vue/React rich text editor framework with customizable extensions. |
105 (0.8%) | 18.7M | 38.7K | MIT |
| Pygments pypi Syntax highlighting library for code in Python supporting hundreds of programming languages. |
97 (0.8%) | 239M | 2,213 | — |