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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help