fix issue with fonts and not rendering

pull/181/head
Rob Loranger 5 years ago
parent aad4768aed
commit 84d7ac35d3
No known key found for this signature in database
GPG Key ID: D6F1633A4F0903B8
  1. 1
      static/js/mathjax-tex-mml-chtml.js
  2. 1
      static/js/mathjax/tex-svg-full.js
  3. 26
      templates/include/post-render.tmpl

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -76,18 +76,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-mml-chtml.js" async>
<script type="text/javascript" id="MathJax-script" src="/js/mathjax/tex-svg-full.js" async>
</script>
{{end}}

Loading…
Cancel
Save