# Where should I put the link to the mathjax cdn?

495 views
in Q2A Core

I'd like to be able to include MathJax for LaTeX formatting in all questions and answers on my site. According to the MathJax site:

To use MathJax from our server, you need to do two things:

1. Link MathJax into the web pages that are to include mathematics.
2. Put mathematics into your web pages so that MathJax can display it.

You accomplish the first step by putting

<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>


into the <head> block of your document.

Which document should I paste this code into?

+1 vote
by
You don't need to paste this into a "document".