danzilberdan27k downloadsFaster and more intuitive MathJax editing using MathLive.
MathLive helps you write math in Obsidian faster. Instead of manually typing every LaTeX command, you can open a visual math editor, build the expression you want, and insert it directly into your note.
It can also turn a copied formula image into LaTeX, either through a hosted OCR service or your own local OCR server.
Use MathLive when you want to:
$x^2 + y^2$$$\int_0^1 x^2 dx$$If you copy an image of a formula to your clipboard, MathLive can try to convert it into LaTeX and add it to the editor for you.
This is useful for:
MathLive.Ctrl/Cmd + P.Add inline math or Add full-line math.Insert.If you already selected text first, MathLive uses that selection as the starting content, which makes editing existing formulas quicker.
If you use math often, assign a hotkey to the MathLive commands in Settings -> Hotkeys. That makes the plugin much faster to use during note-taking.
MathLive supports two OCR modes.
Best for most users. No local setup required.
API key.Self hosted is turned off.Best if you want to run OCR on your own machine.
http://localhost:8502.Self hosted.API key if your local server does not require one. The scan button is only enabled when that field has a value.Self-hosting is more technical and usually only makes sense if you are already comfortable running local services.
Add inline math or Add full-line math.Scan MathJax from Clipboard.Insert.MathLive is desktop-only.Issues and feature requests: github.com/danzilberdan/obsidian-mathlive