Skip to content

Repository files navigation

Notion Equation

Notion Equation converts LaTeX-style text into Notion's native inline and display equations. It runs only when you press the extension button or its keyboard shortcut.

Demo

Demo.mp4

Original demo recorded by voidCounter/Rohit for Noeqtion.

Features

  • Converts $inline equations$ and $$display equations$$ across the current page.
  • Processes multiple equations and equations inside folded toggle blocks.
  • Skips code blocks, existing equation blocks, escaped dollar signs, and malformed delimiters.
  • Reports successful, partial, empty, busy, unsupported-page, and failed runs.
  • Opens the result popup after a keyboard-shortcut conversion finishes.
  • Requests access to the current tab only after an explicit user action.

Development

Requires Node.js 20 or newer.

npm install
npm run check

Useful commands:

npm run dev       # rebuild source files while they change
npm run build     # create the unpacked extension in dist/
npm run test      # run unit tests
npm run package   # verify and create the Chrome Web Store ZIP

To test the unpacked extension:

  1. Run npm run build.
  2. Open chrome://extensions in Chrome.
  3. Enable Developer mode and choose Load unpacked.
  4. Select the generated dist directory.
  5. Open an editable Notion page and select Convert equations, or press Ctrl+Shift+9 (Command+Shift+9 on macOS).

The extension does not collect, store, or transmit user data. See PRIVACY.md.

Attribution

This project is based on Noeqtion, originally created by voidCounter/Rohit. The original project and contributors remain credited in Git history and NOTICE.md.

About

A browser extension that converts LaTeX-style equations to Notion's native math blocks.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages