Monospace Games

svg-preview-mode

This is an emacs minor mode that provides live previews of SVG images as you edit them.

Please read this blog post for more information, suggested configurations, and a demonstration.

Dependencies

Your version of emacs must be capable of displaying SVG images for this to work. You can test this by evaluating (image-type-available-p 'svg)

Installation

  1. Download (size: 1.8K)
  2. Extract the archive (tar xzf svg-preview-mode.tar.gz)
  3. Move the resulting directory to a convenient location (e.g. ~/.emacs.d/manual-install)
  4. Add the following to your init:
    (add-to-list 'load-path "~/.emacs.d/manual-install/svg-preview-mode")
    (load "~/.emacs.d/manual-install/svg-preview-mode/svg-preview-mode-autoloads.el" nil t)
    

How to Use

Open an image and enable preview by M-x svg-preview-mode

Repository

A public git repo is available at https://monospace.games/repos/svg-preview-mode.git

Latest Commits

Commit: 5b392e0b479b5ff9f88e6d12ec115d72034b17ad
Author: monodev <monodev@monospace.games>
Date:   Tue Oct 17 17:54:43 2023

Initial commit