Skip to content

v0.5.0

Latest

Choose a tag to compare

@blackhat-7 blackhat-7 released this 08 Nov 05:53
4ec5d49

Changed

  • Chrome runs only when needed. It used to start when you opened the preview and run until Neovim quit, using 100–200 MB the whole time. Now it starts when a new diagram, math block or image needs drawing, and stops after five minutes with nothing to draw. Pictures already drawn load from disk without it.

Added

  • Loaders for slow renders. A new diagram shows its code, with a spinner in its label if the picture takes more than 0.4 s. An edited diagram keeps its old picture, with an updating badge if the new one takes more than 1 s. Fast renders show no loader.

Upgrading

Nothing to do: update the plugin as usual.