Created
January 13, 2019 03:59
-
-
Save pandanote-info/dcfeb0f569e64dc0242467b73c4f711c to your computer and use it in GitHub Desktop.
GitHub PagesでMathJaxを使用するためのコード例。
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
{% if page.mathjax %} | |
<script type="text/x-mathjax-config"> | |
MathJax.Hub.Config({ | |
displayAlign: "left", | |
displayIndent: "2em", | |
TeX: { | |
equationNumbers: { autoNumber: "AMS" }, | |
}, | |
tex2jax: { | |
inlineMath: [['$','$'], ['\\(','\\)']], | |
processEscapes: true | |
} | |
}); | |
</script> | |
<script | |
type="text/javascript" | |
charset="utf-8" | |
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> | |
</script> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment