_includes/mathjax_support.html in jekyll-theme-chirpy-customized-upe-3.1.4 vs _includes/mathjax_support.html in jekyll-theme-chirpy-customized-upe-3.2.0.pre.beta1
- old
+ new
@@ -12,17 +12,35 @@
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true,
"HTML-CSS": { fonts: ["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>
\ No newline at end of file
+></script>
+
+<!-- MathJax -->
+<!-- <script>
+ /* see: <https://docs.mathjax.org/en/latest/options/input/tex.html#tex-options> */
+ MathJax = {
+ tex: {
+ /* start/end delimiter pairs for in-line math */
+ inlineMath: [
+ ['$', '$'],
+ ['\\(', '\\)']
+ ],
+ /* start/end delimiter pairs for display math */
+ displayMath: [
+ ['$$', '$$'],
+ ['\\[', '\\]']
+ ],
+ /* equation numbering */
+ tags: 'ams'
+ }
+ };
+</script>
+<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js"></script> -->
+