MathJax
- FreeStyleWikiでgtexプラグインを使って数式を出していたのだが、Google Chart APIは長さ制限があり困っていた
- MathJaxはブラウザで処理が完結するので、採用することにした
MathJax v3を導入
Latexコマンド
{{mathjax When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are \[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]}}
出力
When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are \[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]