plugin to add `id` attributes to headings
@types/hast
, unified
, utilities, etc
migrate: update tooexports
migrate: don’t use private APIsFull Changelog: https://github.com/rehypejs/rehype-slug/compare/5.1.0...6.0.0
options.prefix
by @onyxcodes in https://github.com/rehypejs/rehype-slug/pull/15
Full Changelog: https://github.com/rehypejs/rehype-slug/compare/5.0.1...5.1.0
Full Changelog: https://github.com/rehypejs/rehype-slug/compare/5.0.0...5.0.1
Change:
// From CommonJS
var rehypeSlug = require('rehype-slug')
// To ESM
import rehypeSlug from 'rehype-slug'
types
to package.jsonunist-util-visit
(breaking, potentially, if you or your dependents use typescript)Contribute
section to readme.md
rehypejs
readme.md
readme.md