Merge pull request #181 from writeas/mathjax-in-binaries

Mathjax in binaries
pull/368/head
Matt Baer 5 years ago committed by GitHub
commit 5f52c23a65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .gitmodules
  2. 1
      static/js/mathjax
  3. 1
      static/js/mathjax/tex-svg-full.js
  4. 25
      templates/include/post-render.tmpl

3
.gitmodules vendored

@ -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…
Cancel
Save