{
 "kind": "tool",
 "slug": "rehype-katex",
 "path": "tools/rehype-katex/",
 "name": "rehype-katex",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Markdown, editors and content",
   "tools/content-editors/"
  ]
 ],
 "lead": "Transform math expressions to rendered KaTeX for displaying equations in Markdown.",
 "chips": [
  {
   "label": "Markdown, editors and content",
   "path": "tools/content-editors/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install rehype-katex"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/remarkjs/remark-math"
  },
  {
   "label": "Website",
   "href": "https://github.com/remarkjs/remark-math/tree/main#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/remarkjs/remark-math"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Quiet for a year",
   "status": "cond",
   "sub": "Last change Feb 20, 2025",
   "note": "Latest GitHub release Feb 20, 2025. ",
   "src": "https://github.com/remarkjs/remark-math"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "37 projects",
   "status": "info",
   "sub": "#22 of 149 in its category",
   "note": "Dependency in 37 public GitHub projects set up for AI coding agents that we scanned (0.6%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What rehype-katex does",
   "parts": [
    {
     "t": "prose",
     "text": "Transform math expressions to rendered KaTeX for displaying equations in Markdown."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "rehype-katex popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "56",
       "of": "/ 100",
       "l": "Gid Score, #1306 overall"
      },
      {
       "n": "12.5M",
       "l": "downloads a week, npm"
      },
      {
       "n": "519",
       "l": "GitHub stars"
      },
      {
       "n": "37",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How rehype-katex is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "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%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "19 projects, 0.6%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "17 projects, 0.7%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "15 projects, 0.5%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "5 projects, 1.1%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "remark-math",
       "path": "tools/remark-math/"
      },
      {
       "l": "In 89.2% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 89.2% of its projects",
       "v": "remark-gfm",
       "path": "tools/remark-gfm/"
      },
      {
       "l": "In 83.8% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 83.8% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      },
      {
       "l": "In 73.0% of its projects",
       "v": "Class Variance Authority",
       "path": "tools/class-variance-authority/"
      },
      {
       "l": "In 97.3% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 70.3% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about rehype-katex",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/unifiedjs",
        "Open Collective: https://opencollective.com/unified",
        "thanks.dev: https://thanks.dev/u/gh/remarkjs",
        "25 GitHub sponsors"
       ]
      },
      {
       "title": "More in Markdown, editors and content",
       "path": "tools/content-editors/",
       "items": [
        {
         "text": "react-markdown",
         "path": "tools/react-markdown/"
        },
        {
         "text": "remark-gfm",
         "path": "tools/remark-gfm/"
        },
        {
         "text": "Marked",
         "path": "tools/marked/"
        },
        {
         "text": "Jinja2",
         "path": "tools/jinja2/"
        },
        {
         "text": "gray-matter",
         "path": "tools/gray-matter/"
        },
        {
         "text": "Tiptap",
         "path": "tools/tiptap/"
        },
        {
         "text": "Shiki",
         "path": "tools/shiki/"
        },
        {
         "text": "highlight.js",
         "path": "tools/highlight-js/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "rehype-katex",
       "me": true,
       "facts": [
        "MIT",
        "Gid 56",
        "12.5M/wk"
       ]
      }
     ],
     "more": "Compare rehype-katex with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install rehype-katex"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for rehype-katex yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm rehype-katex"
  ],
  [
   "Category",
   "Markdown, editors and content"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "56.5"
  ],
  [
   "Rank in category",
   "#22 of 149"
  ],
  [
   "GitHub",
   "remarkjs/remark-math"
  ],
  [
   "Last change",
   "Feb 20, 2025"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/remarkjs.png"
}