Notion-Equation-Converter

Notion Equation Converter

A Chrome extension that converts LaTeX block equations \[ \] to inline equations (unrendered) $ $ in Notion pages.

🚀 Features

📥 Installation

From Chrome Web Store

  1. Visit the Chrome Web Store page
  2. Click “Add to Chrome”
  3. Confirm installation

From Source (Development)

  1. Clone this repository:
git clone https://github.com/davidwkk/notion-equation-converter.git
  1. Open Chrome and go to chrome://extensions/
  2. Enable “Developer mode” (top right)
  3. Click “Load unpacked” and select the src folder

🎯 Usage

Basic Usage

  1. Open any Notion page
  2. Type equations using \[ and \]:
The quadratic formula is \[x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}\]
  1. Click the extension icon in your toolbar
  2. Click “Convert [ ] to $ $”
  3. Your equations are now in inline syntax:
The quadratic formula is $x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$
  1. Manually select the equation and use shortcut to make it rendered.
    • Shortcut: ctrl/cmd + shift + E

Auto-Convert Mode

Toggle “Auto Convert” in the popup to automatically convert \[ \] to $ $ as you type. Empty brackets like \[\] or \[ \] are ignored.

Before & After

Before:

\[E = mc^2\]

After:

$E = mc^2$

🛠️ Technical Details

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature-name
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

Development Setup

# Clone the repo
git clone https://github.com/davidwkk/notion-equation-converter.git
cd notion-equation-converter

# Load in Chrome for testing
# Go to chrome://extensions/, enable Developer mode, click "Load unpacked"

🚀 Future Development Plan

Auto-Rendering Feature

📝 Changelog

Version 1.0

Auto-Convert Toggle (v1.1)

Security Enhancement (v1.2)

🐛 Issues & Support

📄 License

MIT License - see LICENSE file for details.

🙏 Acknowledgments


Made with ❤️ for Notion users who love math