Preview.js is available as an extension/plugin for your IDE and as a standalone CLI tool.
It's available for Visual Studio Code, as well as JetBrain IDEs such as IntelliJ and WebStorm.
Visual Studio Code
You can either:
- install it from the Visual Studio Marketplace;
- or search for "Preview.js" in the Extensions panel of Visual Studio Code.
IntelliJ / WebStorm
Take your pick:
- install from the JetBrains Marketplace;
- or search for "Preview.js" in the Plugins window of IntelliJ / WebStorm.