Repository navigation
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
updatingbadge if the new one takes more than 1 s. Fast renders show no loader.
Upgrading
Nothing to do: update the plugin as usual.