SVG Viewer
Sublime Text 3 plugin for viewing SVG files as pictures
Details
Installs
- Total 2K
- Win 1K
- Mac 931
- Linux 472
Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 1 | 0 | 0 | 1 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 2 | 2 | 0 | 0 | 0 | 1 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 2 | 2 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 |
Mac | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 2 | 1 | 3 | 0 | 1 | 0 | 1 | 1 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 1 | 3 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 1 | 5 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
SVG Viewer
About
SVG Viewer is Sublime Text 3 plugin for viewing SVG files as pictures.
It is an improved version of the original SVG Preview
Installation
Plugin
- Make sure you already have Package Control installed
- Open command pallete by pressing Ctrl+Shift+P
- Choose “Package Control: Install Package” and then press Enter
- Select “SVG Viewer” and press Enter
Converter
After installing plugin, you can use it only in online mode.
If you want use plugin in offline mode you should install SVG to PNG converter
By default we support these converters:
- CairoSVG
- Inkscape
- ImageMagick
- SVGExport (DPI not supported)
But you can add another converter
Using
- Open SVG file
- Open command pallete and select “SVG Viewer: View SVG”
- (if fisrt run) Choose SVG converter from the suggested converters
- Profit!
Settings
If you want edit settings, key bindings or converters, do:
Preferences → Package Settings → Settings / Key Bindings / Converters - Edit
Adding converter
If you want to use another SVG to PNG converter, do:
- Generate command and name of your converter, such as this
{
"converter": "converter --input-file \"{name}\" --output-file \"{out}\" --dpi {dpi}"
}
- Open converters.json file (Preferences → Package Settings → Converters - Edit) and add this string
- Reopen Sublime Text, open command pallete, choose “SVG Viewer: Change Converter” and choose your converter
- Profit!