-
-
Save rafisics/1babbb8c3ac1d43f595414ec2aa7681a to your computer and use it in GitHub Desktop.
MathJax version 3 configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> | |
<script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script> | |
<script> | |
window.MathJax = { | |
tex: { | |
inlineMath: [ ['$','$'],['\\(','\\)'] ], | |
displayMath: [ ['$$','$$'], ['\\[','\\]'] ], | |
processEscapes: true, | |
processEnvironments: true, | |
processRefs: true | |
}, | |
options: { | |
ignoreHtmlClass: 'tex2jax_ignore|editor-rich-text' | |
} | |
}; | |
</script> |
Some useful links to configure mathjax:
https://docs.mathjax.org/en/latest/input/tex/macros/index.html
https://docs.mathjax.org/en/latest/options/input/tex.html#tex-options
https://www.onemathematicalcat.org/MathJaxDocumentation/TeXSyntax.htm
https://docs.mathjax.org/en/latest/input/tex/extensions/autoload.html#tex-autoload
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://webapps.stackexchange.com/a/153527/196564