I'm working a lot with Scalable Vector Graphics (SVG) code and need some help. How do I export SVG code to a file? Do I have to use a program outside of my text editor to do this?
An SVG file is just a text file (actually an XML file), much like an HTML page. It contains a set of instructions which can be read by software (such as a browser) and displayed or rendered as a graphic on-screen.
All you need to do is save your SVG file as a .svg file. If your text editor doesn't allow you to save as .svg, you can save it as a regular text file (.txt) and change the file extension to .svg
If you want software to open and edit an SVG graphicially, you can use vector image editors, such as Inkscape, or Adobe Illustrator.