Skip to content

Instantly share code, notes, and snippets.

@P1xt
Created November 7, 2013 22:00
Show Gist options
  • Save P1xt/7362581 to your computer and use it in GitHub Desktop.
Save P1xt/7362581 to your computer and use it in GitHub Desktop.
MathJax on Blogger
<script src='http://cdn.mathjax.org/mathjax/latest/MathJax.js' type='text/javascript'>
MathJax.Hub.Config({
HTML: ["input/TeX","output/HTML-CSS"],
TeX: { extensions: ["AMSmath.js","AMSsymbols.js"],
equationNumbers: { autoNumber: "AMS" } },
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
tex2jax: { inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true },
"HTML-CSS": { availableFonts: ["TeX"],
linebreaks: { automatic: true } }
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment