{
 "kind": "tool",
 "slug": "remark-math",
 "path": "tools/remark-math/",
 "name": "remark-math",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Markdown, editors and content",
   "tools/content-editors/"
  ]
 ],
 "lead": "Remark plugin to parse and stringify LaTeX math expressions in markdown documents.",
 "chips": [
  {
   "label": "Markdown, editors and content",
   "path": "tools/content-editors/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install remark-math"
 },
 "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": "43 projects",
   "status": "info",
   "sub": "#20 of 149 in its category",
   "note": "Dependency in 43 public GitHub projects set up for AI coding agents that we scanned (0.7%).",
   "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 remark-math does",
   "parts": [
    {
     "t": "prose",
     "text": "Remark plugin to parse and stringify LaTeX math expressions in markdown documents."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "remark-math popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "58",
       "of": "/ 100",
       "l": "Gid Score, #1214 overall"
      },
      {
       "n": "14.5M",
       "l": "downloads a week, npm"
      },
      {
       "n": "519",
       "l": "GitHub stars"
      },
      {
       "n": "43",
       "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 remark-math is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "remark-math is a dependency in 43 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.9% of the 4,867 JavaScript/TypeScript ones), #20 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 182; those are left out of every share on this page.",
      "The most used alternative in our scan is KaTeX (61 projects).",
      "Projects that use it most often also use remark-gfm (90.7%), clsx (88.4%), rehype-katex (86.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "21 projects, 0.9%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "20 projects, 0.6%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "16 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 90.7% of its projects",
       "v": "remark-gfm",
       "path": "tools/remark-gfm/"
      },
      {
       "l": "In 88.4% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 86.0% of its projects",
       "v": "rehype-katex",
       "path": "tools/rehype-katex/"
      },
      {
       "l": "In 83.7% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 83.7% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      },
      {
       "l": "In 74.4% of its projects",
       "v": "Class Variance Authority",
       "path": "tools/class-variance-authority/"
      },
      {
       "l": "In 97.7% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 72.1% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about remark-math",
   "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": "remark-math",
       "me": true,
       "facts": [
        "MIT",
        "Gid 58",
        "14.5M/wk"
       ]
      },
      {
       "name": "KaTeX",
       "why": "Fast, web-based math typesetting library for rendering LaTeX.",
       "path": "tools/katex/",
       "facts": [
        "MIT",
        "Gid 78",
        "47.9M/wk"
       ]
      },
      {
       "name": "rehype-katex",
       "why": "Transform math expressions to rendered KaTeX for displaying equations in Markdown.",
       "path": "tools/rehype-katex/",
       "facts": [
        "MIT",
        "Gid 56",
        "12.5M/wk"
       ]
      }
     ],
     "more": "Compare remark-math with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install remark-math"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for remark-math yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm remark-math"
  ],
  [
   "Category",
   "Markdown, editors and content"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "57.5"
  ],
  [
   "Rank in category",
   "#20 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"
}