JSXGraph in Moodle: How to use MathJax for text

230 Views Asked by At

I use JSXGraph in Moodle and would like to render text with MathJax. Could someone provide an example of how this can be done? I have tried all kinds of combinations I could think of based on these sources: https://jsxgraph.org/wiki/index.php/Using_MathJax
https://jsxgraph.org/docs/symbols/Text.html#useMathJax

1

There are 1 best solutions below

0
On BEST ANSWER

If you want to use the MathJax filter from Moodle, the order of the filters is important. Here is a link: https://github.com/jsxgraph/moodle-filter_jsxgraph/blob/master/README.md#using-mathjax-within-the-board You can also find an example there.