: Her içerik dosyasının sonunda
<script type="text/x-mathjax-config"> MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});</script>
<script async type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
MathJax
kullanmak için
Hatları ben altbilgi ve diğer şeyler için bu hattı var. Benim altbilgi dosyasında
:
if (isset($mathjax)) {
echo "<script type=\"text/x-mathjax-config\"> MathJax.Hub.Config({TeX:{extensions: [\"mhchem.js\"]}, tex2jax: {inlineMath: [['$','$'], ['\\\(','\\\)']]}});</script>\n";
echo '<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>'."\n";
}
her içerik dosyasının sonunda