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 -->
|
||||
{{define "mathjax"}}
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX", "output/HTML-CSS"],
|
||||
tex2jax: {
|
||||
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
|
||||
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
|
||||
processEscapes: true
|
||||
},
|
||||
"HTML-CSS": { fonts: ["TeX"] }
|
||||
});
|
||||
<script>
|
||||
MathJax = {
|
||||
tex: {
|
||||
inlineMath: [
|
||||
["\\(", "\\)"],
|
||||
['$', '$'],
|
||||
],
|
||||
displayMath: [
|
||||
['$$', '$$'],
|
||||
['\\[', '\\]'],
|
||||
],
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" id="MathJax-script" src="/js/mathjax/tex-svg-full.js" async>
|
||||
</script>
|
||||
<script type="text/javascript" src="/js/mathjax/MathJax.js?config=TeX-MML-AM_CHTML" async></script>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in New Issue