# rehype-katex — card for AI agents

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

Category: Markdown, editors and content · npm package `rehype-katex` · latest version 7.0.1 (checked 2026-11-01)
Install: `npm install rehype-katex`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 56.5 (#1306 of all tools, 61 of 149 in its category)
- Used in 37 public projects set up for AI coding agents (0.6%)
- Downloads last week: 12,479,691 (as of 2026-11-24), +52.2% over 4 weeks
- GitHub stars: 519 (as of 2026-11-24)
- Last push: 2025-02-20

## Often used with
remark-math 100.0%, clsx 89.2%, remark-gfm 89.2%, Lucide React 83.8%, Tailwind Merge 83.8%, Class Variance Authority 73.0%

## Links
- AgentGid page: https://agentgid.com/tools/rehype-katex/
- Homepage: https://github.com/remarkjs/remark-math/tree/main#readme
- Repository: https://github.com/remarkjs/remark-math

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
