Skip to content

Instantly share code, notes, and snippets.

@justmytwospence
Last active December 26, 2015 00:29
Show Gist options
  • Save justmytwospence/7064629 to your computer and use it in GitHub Desktop.
Save justmytwospence/7064629 to your computer and use it in GitHub Desktop.
Web: Configure and source MathJax using their content distribution network. Place these two scripts in your tumblr header.
<!-- MathJax configuration -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: { equationNumbers: {autoNumber: "AMS"} },
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
processEscapes: true
}
});
</script>
<!-- MathJax CDN -->
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment