Rehype Autolink Headings Versions Save

plugin to add links to headings in HTML

7.1.0

6 months ago

Add

  • 01133a3 Add support for headingProperties
  • 31159c0 Add support for content w/ wrap

Full Changelog: https://github.com/rehypejs/rehype-autolink-headings/compare/7.0.0...7.1.0

7.0.0

8 months ago

Change

  • 394560f Update @types/hast, unified, utilities, etc migrate: update too
  • 6bebeab Change to require Node.js 16 migrate: update too
  • f20421f Change to use exports migrate: don’t use private APIs
  • 98849a7 Remove undocumented ancient behaviour spelling migrate: use international english: behavior

Add

  • 92f0258 Add support for passing a function as properties

Misc

Full Changelog: https://github.com/rehypejs/rehype-autolink-headings/compare/6.1.1...7.0.0

6.1.0

2 years ago
  • da79fac Add test option to narrow which headings are linked

6.0.0

2 years ago
  • 7d9f2f7 Use ESM
    • Change:

      // From CommonJS
      var rehypeAutolinkHeadings = require('rehype-autolink-headings')
      
      // To ESM
      import rehypeAutolinkHeadings from 'rehype-autolink-headings'
      

      Learn more about ESM in this guide

  • 779dc5a Add JSDoc based types
  • dac8e53 Update dependencies

5.1.0

3 years ago
  • 2e2b320 Add a tighter type for content, group

5.0.1

3 years ago
  • 9e6bafd Add types to package.json

5.0.0

3 years ago
  • 06ca90a Add types
  • 91a2a52 Refactor to improve bundle size

4.0.0

3 years ago
  • 1fab930 Add tabIndex: -1 to hidden links (breaking if you want links to be hidden but still tabable, which is most likely not good for accessibility)
  • c9cb4a3 Add before, after behaviors, group option

3.0.0

4 years ago
  • b6f89b4 Update unist-util-visit (breaking, potentially, if you or your dependents use typescript)
  • 6e681da Refactor prose
  • 87ef51a Add more related projects
  • ab756b8 Add notes on security