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-autolink-headings

Rehype plugin to automatically add links to markdown/HTML headings.

Markdown, editors and contentNPM

GitHubWebsite

1. License

License from npm.

github.com/rehypejs/rehype-autolink-headings

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

What rehype-autolink-headings does

Rehype plugin to automatically add links to markdown/HTML headings.

rehype-autolink-headings popularity

46 / 100
Gid Score, #2454 overall
3.1M
downloads a week, npm
267
GitHub stars
23
agent projects use it
rehype-autolink-headings: downloads per weeknpm, rehype-autolink-headings 3,122,058
rehype-autolink-headings: GitHub starsrehypejs/rehype-autolink-headings 267

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

How rehype-autolink-headings is used

  • 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%).

By coding agent

16 projects, 0.5%
12 projects, 0.5%
10 projects, 0.3%

Often used with

In 100.0% of its projects
In 95.7% of its projects
In 73.9% of its projects
In 73.9% of its projects
In 73.9% of its projects
In 91.3% of its projects
In 60.9% of its projects
In 69.6% of its projects

More about rehype-autolink-headings

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

See all

More in Markdown, editors and content

Alternatives

rehype-autolink-headings This page

MITGid 463.1M/wk

Compare rehype-autolink-headings with another tool

Get started

Install it.

npm install rehype-autolink-headings

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