SVG Viewer
Sublime Text 3 plugin for viewing SVG files as pictures
Details
Installs
- Total 2K
- Win 969
- Mac 852
- Linux 431
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 2 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 3 | 0 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 1 |
Mac | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 1 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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!