Skip to content

Commit

Permalink
fix empty
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-poghosyan committed Mar 19, 2024
1 parent 3d91601 commit 2405952
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions _includes/mathjax-custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<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": { availableFonts: ["TeX"] }
});


MathJax.Hub.Register.MessageHook("Math Processing Error",function (message) {
alert("Math Processing Error: "+message[1]);
});
MathJax.Hub.Register.MessageHook("TeX Jax - parse error",function (message) {
alert("Math Processing Error: "+message[1]);
});
</script>


<script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

0 comments on commit 2405952

Please sign in to comment.