It would make sense to use KaTeX instead, which usually has a much lower impact on performance. Longer-term, we might even want to render on the server side, e.g. if kotlitex ever takes off.
This would have to be a toggled setting, as it has a nontrivial effect on performance. Additionally, it should be able to be disabled when posting.
Right now, a lot of people seem to use MathJax via this patch: https://gist.github.com/christianp/222cebfa0a3c9d0062f793e98ef4e6ad
It would make sense to use KaTeX instead, which usually has a much lower impact on performance. Longer-term, we might even want to render on the server side, e.g. if kotlitex ever takes off.
This would have to be a toggled setting, as it has a nontrivial effect on performance. Additionally, it should be able to be disabled when posting.