Legacy plugin to add `id`s to headings — please use `rehype-slug`
remark-slug
as legacy
please use rehype-slug
insteadFull Changelog: https://github.com/remarkjs/remark-slug/compare/7.0.0...7.0.1
// From CommonJS
var remarkSlug = require('remark-slug')
// To ESM
import remarkSlug from 'remark-slug'
Learn more about ESM in this guide
unist-util-visit
(breaking, potentially, if you or your dependents use typescript)htmlAttributes
Contribute
section to readme.md
remarkjs
💯
attributes
with data
, data.htmlAttributes