Releases: b-kelly/prosemirror-highlightjs
Releases · b-kelly/prosemirror-highlightjs
v0.9.1
Changes
- fix npm package missing the esm bundle due to a misconfigured
.npmignore
file
v0.9.0
Changes
⚠ BREAKING CHANGES
- package type has been changed to
module
and now exports both esm and a commonjs bundles
v0.8.0
Changes
- update all dependencies and fix types
⚠ BREAKING CHANGES
- update all exported types to match upstream ProseMirror types
v0.7.2
Changes
- Added a fix for a theoretical stack overflow when a codeblock does not have a language set and the autohighlight attempt returns no language
v0.7.1
This release replaces 0.7.0, which was broken. Remember kids, when you update your peerDependencies update your devDependencies to match...
Breaking Changes
- Bump highlight.js to breaking 11.0.x release
v0.6.0
Oops, I forgot to tag this release on GitHub, so here it is late...
- add support for highlighting the doc node itself
v0.5.1
Version bump to (once again) correct a bad package on npm. I've also added a script to make sure I don't do this again...
v0.5.0
Breaking changes
- change the autodetected language from being saved in the
params
attribute to the detectedHighlightLanguage
attribute
- this keeps the plugin from polluting the "default" attribute, keeping it separate
v0.4.1
Version bump to correct bad package on npm
v0.4.0
Major changes
- Plugin now saves the detected autohighlight back onto the node so it doesn't have to "auto" highlight on every pass
- sets to the node's
params
attribute by default
- can be customized by passing a
languageSetter
function to the plugin
- currently only works when the plugin is used within an
EditorView
(should satisfy the vast majority of users)
Breaking changes
- move
preRenderer
and postRenderer
params to an options
object param
- bump peerDependencies