No description
Find a file
Dan Zilberman df125634f2 Update banner to match MathLive branding
Made-with: Cursor
2026-04-08 19:12:53 +03:00
.agents/skills/release-new-version feat: add clipboard image OCR actions 2026-04-08 14:08:38 +03:00
.github/workflows feat: add inline math editing mode 2026-04-05 01:32:34 +03:00
scripts feat: add inline math editing mode 2026-04-05 01:32:34 +03:00
.editorconfig Initial commit 2023-02-01 14:04:52 +02:00
.eslintignore Windows linux 2023-05-27 11:39:12 +03:00
.eslintrc Windows linux 2023-05-27 11:39:12 +03:00
.gitignore fix: ignore generated webpack vendor chunk 2026-04-05 01:42:58 +03:00
.nojekyll new docs 2024-06-18 18:10:46 +03:00
.npmrc Initial commit 2023-02-01 14:04:52 +02:00
assets.d.ts feat: add inline math editing mode 2026-04-05 01:32:34 +03:00
banner.svg Update banner to match MathLive branding 2026-04-08 19:12:53 +03:00
build-banner.js Update banner to match MathLive branding 2026-04-08 19:12:53 +03:00
DEVELOPMENT.md feat: add inline math editing mode 2026-04-05 01:32:34 +03:00
index.html analytics for docs 2024-06-18 19:43:28 +03:00
LICENSE Windows linux 2023-05-27 11:39:12 +03:00
main.js.LICENSE.txt Working POC 2023-02-02 00:42:56 +02:00
main.ts 1.4.1 2026-04-08 18:31:15 +03:00
manifest.json 1.4.1 2026-04-08 18:31:15 +03:00
mathlive-fonts.ts feat: add inline math editing mode 2026-04-05 01:32:34 +03:00
mathlive-inline.ts 1.4.1 2026-04-08 18:31:15 +03:00
mathlive-shared.ts feat: add clipboard image OCR actions 2026-04-08 14:08:38 +03:00
package-lock.json 1.4.1 2026-04-08 18:31:15 +03:00
package.json 1.4.1 2026-04-08 18:31:15 +03:00
README.md docs(readme): refocus README on plugin usage 2026-04-04 18:53:27 +03:00
settings.ts feat: add clipboard image OCR actions 2026-04-08 14:08:38 +03:00
styles.css 1.4.1 2026-04-08 18:31:15 +03:00
tsconfig.json feat: add inline math editing mode 2026-04-05 01:32:34 +03:00
version-bump.mjs Windows linux 2023-05-27 11:39:12 +03:00
versions.json 1.4.1 2026-04-08 18:31:15 +03:00
webpack.config.js Refine CM6 MathLive inline editing and build config 2026-04-05 08:58:27 +03:00

MathLive Plugin for Obsidian

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.

Visit the site

Why Use It

  • Write inline math and display math without leaving your note.
  • Edit existing formulas in a visual math field instead of raw LaTeX only.
  • Convert pasted formula images into LaTeX when you do not want to retype them.
  • Stay inside Obsidian for everyday note-taking, class notes, and problem solving.

What You Can Do

Visual math editing

Use MathLive when you want to:

  • insert new inline math like $x^2 + y^2$
  • insert display math blocks like $$\int_0^1 x^2 dx$$
  • tweak an existing expression in a friendlier editor

Formula OCR

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:

  • screenshots from PDFs or slides
  • handwritten or typeset formulas you want to reuse
  • getting a draft expression quickly before cleaning it up

Installation

  1. Open Obsidian.
  2. Go to Settings -> Community plugins.
  3. Click Browse and search for MathLive.
  4. Click Install.
  5. Click Enable.

Getting Started

Insert or edit math

  1. Open any note.
  2. Open the command palette with Ctrl/Cmd + P.
  3. Run Add inline math or Add full-line math.
  4. Type in the MathLive editor and click Insert.

If you already selected text first, MathLive uses that selection as the starting content, which makes editing existing formulas quicker.

Set a hotkey

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.

OCR Setup

MathLive supports two OCR modes.

Cloud OCR

Best for most users. No local setup required.

  1. Create an API key at mathlive.danz.blog.
  2. Open Settings -> MathLive.
  3. Paste the key into API key.
  4. Make sure Self hosted is turned off.

Self-hosted OCR

Best if you want to run OCR on your own machine.

  1. Set up a compatible OCR server such as LaTeX-OCR so it is available at http://localhost:8502.
  2. Open Settings -> MathLive.
  3. Turn on Self hosted.
  4. Enter any non-empty value in 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.

How To Scan A Formula Image

  1. Copy a formula image to your clipboard.
  2. Open MathLive with Add inline math or Add full-line math.
  3. Click Scan MathJax from Clipboard.
  4. Wait for the recognized LaTeX to appear in the editor.
  5. Clean up anything that needs correction, then click Insert.

Notes

  • MathLive is desktop-only.
  • OCR results are a starting point, not a guarantee. You may still want to fix symbols or spacing.
  • Cloud OCR is usually the simplest option if you just want the feature to work.

Support

Issues and feature requests: github.com/danzilberdan/obsidian-mathlive

Acknowledgements