fix issue with fonts and not rendering
This commit is contained in:
parent
aad4768aed
commit
84d7ac35d3
3 changed files with 15 additions and 13 deletions
File diff suppressed because one or more lines are too long
1
static/js/mathjax/tex-svg-full.js
Normal file
1
static/js/mathjax/tex-svg-full.js
Normal file
File diff suppressed because one or more lines are too long
|
@ -76,18 +76,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>
|
||||||
<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>
|
</script>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue