6.0.0
SVG support 馃搳
This update adds long-awaited SVG support to the rehype ecosystem. A super welcome feature, that鈥檚 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
- b4c02a5 update
hast-util-to-html
rehype
This includes the new rehype-parse
and rehype-stringify
- e466f8d update unified
rehype-cli
This includes the new rehype
- 15a702b update unified-args
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