Primary Shortcut
Convert Math Equations
Ctrl + Alt + M
Triggers the conversion process for all LaTeX equations on the current page.Implementation Details
The keyboard shortcut is implemented using a keydown event listener in the content script:The shortcut works with both uppercase and lowercase ‘M’, so you don’t need to worry about Caps Lock.
Shortcut Behavior
Event Prevention
When the shortcut is pressed,
event.preventDefault() is called to prevent any default browser behavior from interfering with the conversion process.Immediate Execution
The
convertMathEquations() function is called immediately, starting the conversion process without any delay.Platform Support
Windows & Linux
Ctrl + Alt + MmacOS
Ctrl + Alt + MOn macOS, this uses Ctrl (not Cmd). The extension maintains the same shortcut across all platforms.
Alternative Methods
If you prefer not to use the keyboard shortcut, you can also trigger conversion through:Extension Popup
The popup method uses the same underlying conversion logic:
Shortcut Conflicts
Common conflicts:- Some screen recording software
- Window management tools
- Other browser extensions
- System-wide shortcuts on Linux
Future Customization
Currently, the keyboard shortcut is hardcoded in the extension. To change it, you would need to:- Edit the
content.jsfile - Modify the event listener conditions
- Reload the extension in your browser
Accessibility
The keyboard shortcut provides several accessibility benefits:- Keyboard-First Workflow: Convert equations without using the mouse
- Visible Feedback: The conversion process provides visual feedback as equations are processed
- Non-Blocking: The shortcut doesn’t interfere with screen readers or other assistive technologies
Troubleshooting Shortcuts
Shortcut Not Working
Shortcut Not Working
Possible causes:
- You’re not on a
notion.sopage - The content script failed to load
- Another extension is capturing the shortcut first
- Check the browser console for errors
- Disable other extensions temporarily
- Try using the popup method instead
Shortcut Triggers But Nothing Happens
Shortcut Triggers But Nothing Happens
Possible causes:
- No LaTeX equations detected on the page
- Equations are in an unsupported format
- The page structure doesn’t match Notion’s expected DOM
- Verify your equations use
$...$or$$...$$format - Check that you’re on a standard Notion page (not a database view)
- Look for console warnings about equation detection
Partial Conversion
Partial Conversion
If only some equations convert:
- Press the shortcut again to process remaining equations
- Check for KaTeX syntax errors in unconverted equations
- Verify that equations are in editable blocks
Quick Reference
| Action | Shortcut | Notes |
|---|---|---|
| Convert all equations | Ctrl+Alt+M | Works on focused Notion page |
| Stop conversion | Esc (during) | Refresh the page to abort |
| Undo conversion | Ctrl+Z | Use Notion’s native undo |