When you copy math content from large language models (like ChatGPT), the formulas are typically provided in LaTeX format. However, Obsidian supports MathJax, and this plugin will automatically convert the LaTeX formulas into MathJax format when pasted into your notes.
-
Automatic Replacement on Paste:
Automatically replaces LaTeX math delimiters when content is pasted into the editor. -
Manual Replacement:
Use commands to replace LaTeX math delimiters in selected text or the entire document.
- Go to the Release page (https://github.com/aqpower/obsidian-Latex2MathJax/releases) and download the latest version of the plugin in
zip
format. - Extract the downloaded plugin files and place them into Obsidian's plugin folder
.obsidian/plugins
. - Reload Obsidian, then enable the plugin in the Third-party Plugins section.
- Paste LaTeX formulas into the editor.
- Open the command palette (
Ctrl/Cmd + P
) and search forLatex2MathJax
to use the desired functionality. - Alternatively, enable the auto-replace option in the plugin settings, so the plugin will automatically replace LaTeX formulas when you paste them.