Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

rehype-katex

Transform math expressions to rendered KaTeX for displaying equations in Markdown.

Markdown, editors and contentNPM

GitHubWebsite

1. License

License from npm.

github.com/remarkjs/remark-math

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What rehype-katex does

Transform math expressions to rendered KaTeX for displaying equations in Markdown.

rehype-katex popularity

56 / 100
Gid Score, #1306 overall
12.5M
downloads a week, npm
519
GitHub stars
37
agent projects use it
rehype-katex: downloads per weeknpm, rehype-katex 12,479,691
rehype-katex: GitHub starsremarkjs/remark-math 519

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How rehype-katex is used

  • rehype-katex is a dependency in 37 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.8% of the 4,867 JavaScript/TypeScript ones), #22 of 149 in markdown, editors and content.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 161; those are left out of every share on this page.
  • Projects that use it most often also use remark-math (100.0%), clsx (89.2%), remark-gfm (89.2%).

By coding agent

19 projects, 0.6%
17 projects, 0.7%
15 projects, 0.5%
5 projects, 1.1%

Often used with

In 100.0% of its projects
In 89.2% of its projects
In 89.2% of its projects
In 83.8% of its projects
In 83.8% of its projects
In 73.0% of its projects
In 97.3% of its projects
In 70.3% of its projects

More about rehype-katex

Funding
  • GitHub Sponsors: https://github.com/unifiedjs
  • Open Collective: https://opencollective.com/unified
  • thanks.dev: https://thanks.dev/u/gh/remarkjs
  • 25 GitHub sponsors

See all

More in Markdown, editors and content

Alternatives

rehype-katex This page

MITGid 5612.5M/wk

Compare rehype-katex with another tool

Get started

Install it.

npm install rehype-katex

No step-by-step start for rehype-katex yet: we have not written its hand-checked card.