Skip to content

Releases: b-kelly/prosemirror-highlightjs

v0.9.1

14 Jul 20:00
Compare
Choose a tag to compare

Changes

  • fix npm package missing the esm bundle due to a misconfigured .npmignore file

v0.9.0

14 Jul 19:29
Compare
Choose a tag to compare

Changes

  • update all dependencies

⚠ BREAKING CHANGES

  • package type has been changed to module and now exports both esm and a commonjs bundles

v0.8.0

13 Jun 15:24
Compare
Choose a tag to compare

Changes

  • update all dependencies and fix types

⚠ BREAKING CHANGES

  • update all exported types to match upstream ProseMirror types

v0.7.2

15 Sep 03:40
Compare
Choose a tag to compare

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

06 Jun 03:19
Compare
Choose a tag to compare

This release replaces 0.7.0, which was broken. Remember kids, when you update your peerDependencies update your devDependencies to match...

  • Bump all dependencies

Breaking Changes

  • Bump highlight.js to breaking 11.0.x release

v0.6.0

06 Jun 01:50
Compare
Choose a tag to compare

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

30 Oct 17:26
Compare
Choose a tag to compare

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

29 Oct 01:06
Compare
Choose a tag to compare

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

07 Oct 20:19
Compare
Choose a tag to compare

Version bump to correct bad package on npm

v0.4.0

03 Oct 02:56
Compare
Choose a tag to compare

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