Math Delimiters Replacer Plus
Install via ankiweb
This add-on converts MathJax delimiters while editing notes and when batch-updating selected cards in the Browser, using the same matching logic as the original project it builds on (Supports Bulk update)
What it does Replace display math: $$ … $$ → [ … ] without altering the inner TeX content Replace inline math: $ … $ → ( … ) with the same guarantees as above Adds a toolbar button labelled (…) in the Editor for one‑click conversion of the current selection Adds a Browser action named (…) that processes all fields of all selected notes, with a single undo group for Ctrl+Z In Editor selection mode, preserves existing HTML formatting (<b>, <i>, <u>, spans, etc.) and only rewrites delimiter text Skips already rendered MathJax nodes so rendered equations are not modified
Installation Install from AnkiWeb by opening Tools → Add‑ons → Get Add‑ons and entering the code 699086701 Usage Editor: select text containing $…$ or $$…$$, then click the (…) toolbar button or press the configured shortcut to convert delimiters in place in the active field Browser: select any cards, open the Edit menu, choose (…), and the add‑on will convert delimiters in every field of the selected notes with one undo checkpoint for the whole run Editor behavior details The editor command rewrites only selected text nodes and does not flatten rich text formatting Existing rendered MathJax (for example anki-mathjax/MathJax render containers) is intentionally ignored Scope is delimiter normalization only: $…$/$$…$$ to (…)/[…] Keyboard shortcut The shortcut is read from config.json key “hotkey” and is applied to both the Editor action and the Browser menu action on startup If a plain Alt+letter collides with menu mnemonics on your platform, set “hotkey” to a combination like Shift+Alt+M in config.json and reload add‑ons to take effect Compatibility Tested on Anki 25 with Qt 6, with Browser and Editor integrations registered through modern hooks and with fallbacks for older APIs where practical Undo is implemented with start_undo/stop_undo when available and falls back to a checkpoint on older collections to preserve a single-step revert Notes on MathJax delimiters Anki’s manual documents MathJax inline (…) and display […] delimiters, which this add‑on standardizes from $ and $$ sources used in some notes For equations that include backslashes or non‑breaking spaces, insertion uses a safe transport so the literal [/( sequences appear as intended in the field text before rendering Attribution and credits Original concept and regex logic credited to the “Math Delimiters Replacer – LaTeX, MathJax” add‑on by Achyut Morang (AnkiWeb code 211799575) Forked version adapts it for modern Anki releases published as “Math Delimiters Replacer LaTeX MathJax – Fixed by Shige” (AnkiWeb code 401047458) Support and source pointers For usage instructions, updates, and issue reporting, consult the maintained add‑on’s AnkiWeb page under code 401047458 For background, screenshots, and original documentation, refer to the legacy add‑on page under code 211799575 Changelog 2026-02-20 Added support for full-field replacement: if no text is selected, clicking the button now replaces all math delimiters in the currently focused field. Maintained existing behavior where only the selected text is processed if a selection exists. 2026-02-18 Editor conversion now preserves existing rich text formatting (bold, italics, underline, spans, etc.) Editor conversion now skips already rendered MathJax content Delimiter normalization scope clarified: only $…$ and $$…$$ are converted to (…) and […]
Screenshots

Liên kết hỗ trợ
- Contact Author
- Math Delimiters Replacer Plus
- Math Delimiters Replacer – LaTeX, MathJax
- Contact Author
Reviews (2)
👍 2026-01-28
AMAZING THANK YOU Comment from author Thank you for your reply try out my other addons from my profile
👍 2025-12-25
This plugin is PERFECT and that’s not an exaggeration There are no errors, everything works perfectly. I had a lot of flashcards where formulas were written as $formula$, but anki doesn’t accept that. It’s good that this plugin solves this problem, and I don’t have to manually rewrite the cards or ask the AI to do it Thank you Author Comment from author Thank you for your comment, check out my other addons