Skip to content

v0.4.0

Choose a tag to compare

@b-kelly b-kelly released this 03 Oct 02:56
· 39 commits to master since this release

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