LaTeX Bracket Compatibility
Description
Paste LaTeX from ChatGPT and other sources. Preview six bracket and dollar math formats directly in the Markdown editor; click to edit, render offline, keep note source unchanged.
Additional Information
| Links: | |
|---|---|
| Maintainers: | wx5223 |
| Version: | 0.2.5 |
| Minimum app version: | 3.1 |
| Downloads: This version: | 1 |
| Last updated: | 2026-12-05T09:45:23Z |
Joplin LaTeX Bracket Compatibility
Paste math. See math. Keep your Markdown.
简体中文 · Download · Report an issue
Turn Joplin's Markdown editor into a comfortable workspace for mathematics. Copy formulas from ChatGPT, other AI assistants, textbooks or your own LaTeX notes without manually changing bracket delimiters into dollar signs.
Behavior illustration, not an application screenshot.
Why use this plugin?
| Benefit | What it means for your workflow |
|---|---|
| Paste directly from AI | Accept both LaTeX bracket styles and native dollar delimiters. No search-and-replace step. |
| Math where you write | Preview formulas inside the CodeMirror 6 Markdown editor, not just in the separate viewer. |
| Click to edit | Click a rendered formula or move your cursor into it to reveal the source; move away to render it again. |
| Keep your original Markdown | Live preview uses editor decorations rather than rewriting note text. |
| Local and offline | No API key, external math-rendering service, or note upload. The editor uses bundled KaTeX and MathML; the viewer reuses Joplin's KaTeX. |
| Reliable recovery | A two-stage widget reset helps restore previews after editor switches; a manual refresh/diagnostic command is included. |
Ideal for students, teachers, researchers, engineers and anyone saving formula-heavy explanations in Joplin.
Supported syntax
All six delimiter variants below are supported by the Markdown live-preview extension. Native dollar math in the viewer remains handled by Joplin.
| Format | Example | Live preview |
|---|---|---|
| Inline dollar | $E=mc^2$ |
Yes |
| Display dollar | $$x^2+y^2=z^2$$ |
Yes |
| Inline bracket | \(E=mc^2\) |
Yes |
| Display bracket | \[x^2+y^2=z^2\] |
Yes |
| Double-backslash inline | \\(E=mc^2\\) |
Yes |
| Double-backslash display | \\[x^2+y^2=z^2\\] |
Yes |
Standalone display math may span multiple lines. Fenced code and inline code are excluded. Dollar-sign detection uses conservative delimiter rules to avoid common price-text false positives.
Install
Once the package is listed in the Joplin plugin directory, search for LaTeX Bracket Compatibility in Joplin Settings → Plugins.
Manual installation is available now:
- Download
latex-bracket-compatibility.jplfrom GitHub Releases. - Open Joplin Settings → Plugins → Install from file.
- Select the JPL, then fully quit and restart Joplin.
- Use the CodeMirror 6 Markdown editor. Enable Joplin's native math (KaTeX) setting for the viewer and rich-text editor.
Try it in 30 seconds
Copy the Markdown below into a note, then move your cursor outside the formulas.
Einstein: $E=mc^2$
Inline LaTeX: \(\sin^2\theta+\cos^2\theta=1\)
$$
\frac{a}{b}+\frac{c}{d}
$$
\[
\sin\left(\frac{\pi}{2}+\alpha\right)=\cos\alpha
\]
\\(x^2\\)
\\[x^2+y^2=z^2\\]
Compatibility & troubleshooting
- Targets desktop Joplin with CodeMirror 6; manifest minimum 3.1. The reported working environment is Joplin 3.7.24 on macOS. Other desktop versions/platforms and the updated KaTeX in v0.2.5 are not yet fully verified.
- Markdown viewer and rich-text rendering require Joplin's native KaTeX option. The no-rewrite guarantee applies to Markdown live preview, not Joplin's rich-text round trips.
- Mobile, CodeMirror 5 and nested standalone display blocks in lists/quotes are not fully tested.
- If previews disappear after startup or switching editor modes, try Tools → LaTeX: Refresh / Diagnose preview. The diagnostic reports counts and editor state, not note contents.
- Disable overlapping live-rendering plugins during troubleshooting.
Build, verify & publish
npm install --ignore-scripts
npm audit
npm test
npm run dist
The JPL is generated at dist/latex-bracket-compatibility.jpl. The registry-ready JPL and manifest are generated in publish/ with SHA-256 and source commit metadata. See publishing guide.
GitHub Actions runs the automated tests and packaging checks. v0.2.5 upgrades KaTeX and the test-only markdown-it dependency to address previously reported npm advisories.