https://github.com/iensu/silicon-el
An emacs package for creating images from source code buffers using silicon
https://github.com/iensu/silicon-el
code-to-image emacs silicon
Last synced: 2 months ago
JSON representation
An emacs package for creating images from source code buffers using silicon
- Host: GitHub
- URL: https://github.com/iensu/silicon-el
- Owner: iensu
- License: gpl-3.0
- Created: 2020-11-08T09:12:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-17T12:05:08.000Z (3 months ago)
- Last Synced: 2025-03-18T17:05:50.621Z (2 months ago)
- Topics: code-to-image, emacs, silicon
- Language: Emacs Lisp
- Homepage:
- Size: 23.4 KB
- Stars: 17
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# silicon.el
A convenience package for creating images of the current source buffer using Silicon . It requires you to have the `silicon` command-line tool installed and preferably on your path. You can specify the path to the executable by setting `silicon-executable-path`.
The package declares `silicon-buffer-file-to-png` which tries to create a PNG of the current source code buffer. See the function doc string for more details.
## How to load
First clone this repository.
### Using `require`
Add this to your config:
```emacs-lisp
(add-to-list 'load-path "")
(require 'silicon)
```### Using `use-package`
``` emacs-lisp
(use-package silicon
:load-path "")
```