{
 "kind": "tool",
 "slug": "rehype-autolink-headings",
 "path": "tools/rehype-autolink-headings/",
 "name": "rehype-autolink-headings",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Markdown, editors and content",
   "tools/content-editors/"
  ]
 ],
 "lead": "Rehype plugin to automatically add links to markdown/HTML headings.",
 "chips": [
  {
   "label": "Markdown, editors and content",
   "path": "tools/content-editors/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install rehype-autolink-headings"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/rehypejs/rehype-autolink-headings"
  },
  {
   "label": "Website",
   "href": "https://github.com/rehypejs/rehype-autolink-headings#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/rehypejs/rehype-autolink-headings"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Quiet for a year",
   "status": "cond",
   "sub": "Last change Sep 16, 2024",
   "note": "Latest GitHub release Sep 16, 2024. ",
   "src": "https://github.com/rehypejs/rehype-autolink-headings"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "23 projects",
   "status": "info",
   "sub": "#38 of 149 in its category",
   "note": "Dependency in 23 public GitHub projects set up for AI coding agents that we scanned (0.4%).",
   "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-autolink-headings does",
   "parts": [
    {
     "t": "prose",
     "text": "Rehype plugin to automatically add links to markdown/HTML headings."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "rehype-autolink-headings popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "46",
       "of": "/ 100",
       "l": "Gid Score, #2454 overall"
      },
      {
       "n": "3.1M",
       "l": "downloads a week, npm"
      },
      {
       "n": "267",
       "l": "GitHub stars"
      },
      {
       "n": "23",
       "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-autolink-headings is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "rehype-autolink-headings is a dependency in 23 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.5% of the 4,867 JavaScript/TypeScript ones), #38 of 149 in markdown, editors and content.",
      "Projects that use it most often also use rehype-slug (100.0%), remark-gfm (95.7%), Next.js (73.9%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "16 projects, 0.5%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "12 projects, 0.5%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "10 projects, 0.3%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "rehype-slug",
       "path": "tools/rehype-slug/"
      },
      {
       "l": "In 95.7% of its projects",
       "v": "remark-gfm",
       "path": "tools/remark-gfm/"
      },
      {
       "l": "In 73.9% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      },
      {
       "l": "In 73.9% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 73.9% of its projects",
       "v": "Prettier",
       "path": "tools/prettier/"
      },
      {
       "l": "In 91.3% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 60.9% of its projects",
       "v": "next-themes",
       "path": "tools/next-themes/"
      },
      {
       "l": "In 69.6% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about rehype-autolink-headings",
   "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/rehypejs",
        "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-autolink-headings",
       "me": true,
       "facts": [
        "MIT",
        "Gid 46",
        "3.1M/wk"
       ]
      }
     ],
     "more": "Compare rehype-autolink-headings 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-autolink-headings"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for rehype-autolink-headings yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm rehype-autolink-headings"
  ],
  [
   "Category",
   "Markdown, editors and content"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "45.8"
  ],
  [
   "Rank in category",
   "#38 of 149"
  ],
  [
   "GitHub",
   "rehypejs/rehype-autolink-headings"
  ],
  [
   "Last change",
   "Sep 16, 2024"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/rehypejs.png"
}