remark-slug

Legacy remark plugin to add anchors to headings — please use `rehype-slug`

Usage no npm install needed!

<script type="module">
  import remarkSlug from 'https://cdn.skypack.dev/remark-slug';
</script>

README

remark-slug

Stability: Legacy. This package is no longer recommended for use. It’s still covered by semantic-versioning guarantees and not yet deprecated, but use of this package should be avoided. Please use remark-rehype to move from remark (markdown) to rehype (HTML) and then replace remark-slug with rehype-slug.

Legacy documentation for this package is still available in Git.

License

MIT © Titus Wormer