##// END OF EJS Templates
Backport PR #6395: update mathjax CDN url in nbconvert template...
Thomas Kluyver -
Show More
@@ -1,23 +1,23 b''
1 1 {%- macro mathjax() -%}
2 2 <!-- Load mathjax -->
3 <script src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
3 <script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
4 4 <!-- MathJax configuration -->
5 5 <script type="text/x-mathjax-config">
6 6 MathJax.Hub.Config({
7 7 tex2jax: {
8 8 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
9 9 displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
10 10 processEscapes: true,
11 11 processEnvironments: true
12 12 },
13 13 // Center justify equations in code and markdown cells. Elsewhere
14 14 // we use CSS to left justify single line equations in code cells.
15 15 displayAlign: 'center',
16 16 "HTML-CSS": {
17 17 styles: {'.MathJax_Display': {"margin": 0}},
18 18 linebreaks: { automatic: true }
19 19 }
20 20 });
21 21 </script>
22 22 <!-- End of mathjax configuration -->
23 23 {%- endmacro %} No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now