Make MathJax (LaTeX) operate on a per note basis (not globally)

Currently, Mathjax is loaded and operates on the whole vault.
This implies that definitions/commands/macros in one note affect other notes.

This is primarily due to the way both mathjax and obsidian are engineered to work.
However, it might be desirable in the future to have mathjax operate on a per document basis.

Related topics:

1 Like

Apologies if this is like, unsolicited advice you’ve heard a million times but, I’ve personally switched from MathJax to Katex for math on my own website. I had many frustrations with MathJax, but Katex was a breath of fresh air, not just in implementation but also how fast it was in comparison. No clue if it’s viable for obsidian to switch at this point though

1 Like

MathJax 3+ is as fast as ketex and supports more commands. This specific issue would likely happen with ketex as well.

Has there been any progress on this or how MathJax is loaded by Obsidian as a whole? (Or is there likely to be any time soon?)

Thanks for any help.

Any news on this ? it’s a bit of a niche but it would be very convenient.

1 Like