inkscape plugin to live edit svg code

2019-04-18 06:56发布

问题:

I'm looking for a plugin for inkscape (or any vector based editor for that matter) to see a window with the code next to the window with the graphical objects for SVGs. Both windows would be dynamic, meaning that if you change something in the graphical view it automatically updates the code, and changing the code would automatically update the graphical object. Also it would be nice if selecting an object would highlight the relevant code.

I have had a look here but didn't see anything like this: http://wiki.inkscape.org/wiki/index.php/Extension_repository

Does anything like this exist or would anyone else be interested in something like this?

回答1:

What is wrong with the XML editor found in inkscape's Edit menu?



回答2:

you can just use a text editor like Notepad++ to open the svg file. svg is just a set of instructions on how to draw vector lines, and the file is text-based.



回答3:

As Inkscape still doesn't support this, and assuming you are hand editing 'svg' files for inclusion on a website you might be better off using a service like CodePen.

While it does require internet connectivity it also fulfill's your requirement of seeing the files as they are updated. A tutorial on editing SVG by hand can be found here.