plugin to add links to headings in HTML
headingProperties
content
w/ wrap
Full Changelog: https://github.com/rehypejs/rehype-autolink-headings/compare/7.0.0...7.1.0
@types/hast
, unified
, utilities, etc
migrate: update tooexports
migrate: don’t use private APIsbehaviour
spelling
migrate: use international english: behavior
properties
fromHtml
example
by @altano in https://github.com/rehypejs/rehype-autolink-headings/pull/17
Full Changelog: https://github.com/rehypejs/rehype-autolink-headings/compare/6.1.1...7.0.0
Full Changelog: https://github.com/rehypejs/rehype-autolink-headings/compare/6.1.0...6.1.1
Change:
// From CommonJS
var rehypeAutolinkHeadings = require('rehype-autolink-headings')
// To ESM
import rehypeAutolinkHeadings from 'rehype-autolink-headings'
content
, group
types
to package.json
tabIndex: -1
to hidden links
(breaking if you want links to be hidden but still tabable, which is most likely not good for accessibility)before
, after
behaviors, group
optionunist-util-visit
(breaking, potentially, if you or your dependents use typescript)