Slightly hacky but good enough math rendering in emacs 馃獎
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Emacs Lisp 63.3%
Rust 32.4%
Nix 2.4%
Shell 0.1%
Other 1.8%
3 1 0

Clone this repository

https://tangled.org/bergsoe.net/mathrender.el https://tangled.org/did:plc:kfsvhhlldwjrbr6d2srbgzh7/mathrender.el
git@tangled.org:bergsoe.net/mathrender.el git@tangled.org:did:plc:kfsvhhlldwjrbr6d2srbgzh7/mathrender.el

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README
mathrender.el

Emacs minor mode that renders LaTeX math blocks as inline SVG images.
Includes a CLI tool (src/) that converts LaTeX to SVG via Typst.

Supported delimiters: $$...$$, \[...\], \(...\), $...$

Moving the cursor into a preview removes it for editing; moving out
re-renders it immediately. The idle timer scans for newly typed math.
Click a preview to dismiss it manually.
Integrates with gptel automatically when loaded.

Requirements:
  Emacs 27.1+
  mathrender binary in PATH
    cargo build --release   (or: nix build)

Usage:
  (load "path/to/mathrender.el")
  M-x mathrender-mode

License: GPL-3.0-or-later