mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Merge branch 'mathjax' of https://github.com/minrk/ipython into minrk-mathjax
This commit is contained in:
commit
c2df8a9005
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@ _build
|
||||
docs/man/*.gz
|
||||
docs/source/api/generated
|
||||
docs/gh-pages
|
||||
IPython/frontend/html/notebook/static/mathjax
|
||||
*.py[co]
|
||||
build
|
||||
*.egg-info
|
||||
|
@ -10,12 +10,14 @@
|
||||
<!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> -->
|
||||
<!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.14.custom.css" type="text/css" />-->
|
||||
|
||||
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script>
|
||||
<!-- <script type='text/javascript' src='static/mathjax/MathJax.js?config=TeX-AMS_HTML' charset='utf-8'></script> -->
|
||||
<!-- <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script> -->
|
||||
<script type='text/javascript' src='static/mathjax/MathJax.js?config=TeX-AMS_HTML' charset='utf-8'></script>
|
||||
<script type="text/javascript">
|
||||
if (typeof MathJax == 'undefined') {
|
||||
console.log("Trying to load local copy of MathJax");
|
||||
document.write(unescape("%3Cscript type='text/javascript' src='static/mathjax/MathJax.js%3Fconfig=TeX-AMS_HTML' charset='utf-8'%3E%3C/script%3E"));
|
||||
console.log("No local MathJax, loading from CDN");
|
||||
document.write(unescape("%3Cscript type='text/javascript' src='http://cdn.mathjax.org/mathjax/latest/MathJax.js%3Fconfig=TeX-AMS_HTML' charset='utf-8'%3E%3C/script%3E"));
|
||||
}else{
|
||||
console.log("Using local MathJax");
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user