Merge pull request #181 from writeas/mathjax-in-binaries
Mathjax in binaries
This commit is contained in:
commit
5f52c23a65
|
@ -1,3 +0,0 @@
|
||||||
[submodule "static/js/mathjax"]
|
|
||||||
path = static/js/mathjax
|
|
||||||
url = https://github.com/mathjax/MathJax.git
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 419b0a6eee7eefc0f85e47f7d4f8227ec28b8e57
|
|
File diff suppressed because one or more lines are too long
|
@ -79,17 +79,20 @@
|
||||||
|
|
||||||
<!-- Include mathjax configuration -->
|
<!-- Include mathjax configuration -->
|
||||||
{{define "mathjax"}}
|
{{define "mathjax"}}
|
||||||
<script type="text/x-mathjax-config">
|
<script>
|
||||||
MathJax.Hub.Config({
|
MathJax = {
|
||||||
extensions: ["tex2jax.js"],
|
tex: {
|
||||||
jax: ["input/TeX", "output/HTML-CSS"],
|
inlineMath: [
|
||||||
tex2jax: {
|
["\\(", "\\)"],
|
||||||
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
|
['$', '$'],
|
||||||
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
|
],
|
||||||
processEscapes: true
|
displayMath: [
|
||||||
},
|
['$$', '$$'],
|
||||||
"HTML-CSS": { fonts: ["TeX"] }
|
['\\[', '\\]'],
|
||||||
});
|
],
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript" id="MathJax-script" src="/js/mathjax/tex-svg-full.js" async>
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="/js/mathjax/MathJax.js?config=TeX-MML-AM_CHTML" async></script>
|
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in New Issue