gnab / remark

A simple, in-browser, markdown-driven slideshow tool.
http://remarkjs.com
MIT License
12.67k stars 854 forks source link

How to use MathJax 3? #670

Open martinlester opened 2 years ago

martinlester commented 2 years ago

I've been using the instructions here to get MathJax 2.7 working in Remark, and they work fine:

https://github.com/gnab/remark/wiki/LaTeX-using-MathJax

How do I get more recent MathJax working? I would like to use some extensions that are only included in recent versions of MathJax. But MathJax 3 changes how the library is loaded. This is important because it needs to be started after Remark has rendered the slides to HTML.

If someone could provide a working example with MathJax 3 on the Wiki, that would be great.