News for hackers. Stuff that matters.
Re:Show HN: kitty-graphics.el – Images, LaTeX and PDFs in te... by cashmere1337 on Wednesday March 11, 2026 @03:52AM (#47332742)
A few days ago I posted the initial release of kitty-graphics.el here. Thanks for all the feedback, bug reports and feature requests. I went ahead and built everything that was asked for.

Here's what's new in v0.2.1:

- Org inline images now work properly. The core feature from v0.1 got a robustness overhaul. File links, attachment links and relative paths all work.

- LaTeX fragment preview in org-mode via C-c C-x C-l. Renders through dvipng, displayed inline via Kitty protocol. No GUI frame needed.

- doc-view integration. PDFs, DVI and PostScript files render in the terminal. Page navigation, zoom, centering all work.

- Image-mode with zoom controls and centering. Uses its own major mode now to avoid evil-mode conflicts.

- Dirvish integration. Image previews in the preview pane, no config needed.

- Images hide when org headings are collapsed. This was the first bug report and it's fixed.

- LRU image cache instead of the old unbounded hash table.

- Less flicker on buffer/window switches.

- Overflow protection for tall images near the bottom of the window.

Full writeup with GIFs: https://cashmere.rs/blog/kitty-graphics-el-v021-release

Repo: https://github.com/cashmeredev/kitty-graphics.el

There are no comments on this comment yet.