How to set up Emacs as an SVG editor
monospace.games·16h·
Discuss: Hacker News
Flag this post

2023-10-30 Mon

In this post I’ll describe how to set up emacs as an SVG editor, complete with autocompletion, error checking, and live previews. Even though there are at least two emacs packages that provide a point-and-click interface for SVG editing (sketch-mode and el-easydraw) we’ll be looking into editing SVG files textually instead.

In usual emacs fashion almost all of the functionality we need is actually built-in, we just need to enable and configure things. Nevertheless there’ll still be a fair bit of elisp involved to get things working smoothly.

This premise may sound odd to some, but remember that SVG is XML, XML is text, and emacs is a text editor capable of rendering vector graphics. So it’s kind of a match made in heaven. Plus the SVG format does provide a lot of …

Similar Posts

Loading similar posts...