Search code examples
moodlemathjaxjsxgraph

JSXGraph in Moodle: How to use MathJax for text


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


Solution

  • 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.