ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

SVG Viewer

Sublime Text 3 plugin for viewing SVG files as pictures

Labels svg, view, image

Details

Installs

  • Total 131
  • Win 61
  • Mac 48
  • Linux 22
Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19
Windows 2 1 1 0 0 0 2 1 0 1 1 1 0 1 0 3 0 0 2 3 1 0 4 0 1 3 0 0 4 2 2 1 3 2 1 5 4 0 4 1 4 3 2 3 1
Mac 0 4 2 1 0 0 1 3 2 4 1 1 3 4 1 1 0 0 0 0 1 0 3 0 1 1 2 0 1 0 0 1 1 0 0 3 5 2 0 1 1 3 0 0 0
Linux 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 2 0 0 0 2 0 0 0 0 1 1 0 0 3 0 0 2 1 1 4 0 1 0 0 2 0 0 3 2 0

Readme

Source
raw.​githubusercontent.​com

SVG Viewer

About

SVG Viewer is Sublime Text 3 plugin for viewing SVG files as pictures

Installing

Plugin
  1. Make sure you already have Package Control installed
  2. Open command pallete by pressing Ctrl+Shift+P
  3. Choose “Package Control: Install Package” and then press Enter
  4. Select “SVG Viewer” and press Enter
Converter

After installing plugin, you need install SVG to PNG converter
By default we support these converters:

But you can add another converter

Using

  1. Open SVG file
  2. Open command pallete and select “SVG Viewer: View SVG
  3. (if fisrt run) Choose SVG converter from the suggested converters
  4. 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:

  1. Generate command and name of your converter, such as this
{
    "converter": "converter --input-file \"{name}\" --output-file \"{out}\" --dpi {dpi}"
}
  1. Open converters.json file (Preferences → Package Settings → Converters - Edit) and add this string
  2. Reopen Sublime Text, open command pallete, choose “SVG Viewer: Change Converter” and choose your converter
  3. Profit!