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