Skip to content

Releases: rehypejs/rehype

6.0.0

17 Jul 21:03
Compare
Choose a tag to compare
SVG support 📊

This update adds long-awaited SVG support to the rehype ecosystem. A super welcome feature, that’s been cooking up since 2016. After much thought, I think what we came up with is a rather easy-to-use implementation.

Note that rehype is not an XML parser. It still focusses on HTML. But this change adds proper support to SVG embedded in HTML, and SVG fragments.

See wooorm/property-information#6 for more info.

Parse Errors

Additionally, rehype-parse can now emit parse errors if emitParseErrors: true.

rehype-parse
  • d70d161 add space option
  • 02d383b update hast-util-from-parse5
  • 0efaa14 fix support for <noscript> elements
  • c20f360 add support for emitting parse errors
  • 3f1ef5a update parse5
rehype-stringify
rehype

This includes the new rehype-parse and rehype-stringify

rehype-cli

This includes the new rehype

Plugins
  • 61a5ff2 Add rehype-add-classes to list of plugins
  • 9490807 Add rehype-dom to list of plugins
  • afe9ce0 Add rehype-prism to list of plugins
Other changes
  • e756e50 Remove engines restrictions from packages
  • e9f44d1 Refactor code-style

rehype-parse@4.1.0

21 Jan 14:14
Compare
Choose a tag to compare

5.0.1

03 Dec 14:27
Compare
Choose a tag to compare

rehype-cli@5.0.0

03 Dec 14:28
Compare
Choose a tag to compare
  • cd46541 drop superfluous engines restriction
  • fd704a9 update unified-args

See the unified-engine@5.0.0 changelog for more info.

rehype-cli@4.0.0

24 Jul 19:56
Compare
Choose a tag to compare

5.0.0

18 Jun 10:02
Compare
Choose a tag to compare

rehype@5.0.0

18 Jun 10:04
Compare
Choose a tag to compare
  • a52d9eb rehype-parse: update parse5, hast-util-from-parse5

rehype-parse@4.0.0

18 Jun 10:01
Compare
Choose a tag to compare
  • a52d9eb update parse5, hast-util-from-parse5

rehype-cli@3.0.0

18 Jun 10:00
Compare
Choose a tag to compare
  • a52d9eb rehype-parse: update parse5, hast-util-from-parse5

4.0.0

24 Feb 07:27
Compare
Choose a tag to compare
Changes

Much changed in unified@6.0.0. On the CLI, unified-engine@3.0.0 and unified-args@3.0.0 come with some changes as well.

Please see the Gitter room for help upgrading.

Changelog