Hi, the Math plugin seems to rely on the frontend for rendering. Therefore, our email users cannot receive the rendered math formula.
Is there any way to solve this problem?

Technically, yesâ€¦ but it is tricky. We would need to load mathjax in mini racer (or node) simulate the DOM and render to an SVG.

I am sure it was done before by some people but can not find easy examples in the wild that are maintained. Probably worth testing if the node package even works for starters.

Absolutely open to it, if someone feels like helping out I would be delighted.

As Iâ€™d tracked down in that thread, because MathJax 3 handles its config file differently than MathJax 2.x does, upgrading this plugin will require more than just changing the URL.

artificial intelligence gives answers in latex format. I wrote a prompt to convert this latex format to mathjax format, but the prompt is not always implemented and responds in latex format. When I wrote my problem to the openai community, the following suggestion came.

"I decided it wasnâ€™t even worth the effort of cluttering up a system prompt, when I could just do the following on my end with the results:

I like this idea, agree latex can be annoying in AI replies and system prompting out if it is hard. Double so cause GPT4o is fine tuned on latex. Totally support making some sort of PR with a switch to support â€ślatex modeâ€ť if you check a box in site settings.

I donâ€™t know if Iâ€™m talking about same thing, but for me this worked. I donâ€™t use any really difficult formulas, though.

You fully understand MathJax and generate it.
When presenting mathematical expressions, use the following rules:
1. For inline mathematical expressions, use single dollar signs `$...$`.
2. For display-style mathematical expressions, use double dollar signs `$$...$$`.
For example:
- Inline: The equation of mass-energy equivalence is $e=mc^2$.
- Display:
$$
e=mc^2
$$