How to use Mathjax with Monogatari?

Asked by At

I want to show some latex in my monogatari dialog. I tried with MathJax but with no luck :!

So far I tried to add the script in my html and then put some $$ latex $$ in my dialog/

"g Salut {{player.Name}}, je m'appelle Gnu !"
      'Choice':
        'Dialog': 'g Voici un débat mathématique entre 2 élèves Aïcha et Martin : $$\dfrac{1}{2}$$'
        'Yes':
          'Text': 'Yes'
          'Do': 'jump Yes'
        'No':
          'Text': 'No'
          'Do': 'jump No'

But it's showing $$\dfrac{1}{2}$$ :((

Any idea ?!

0 Answers