Skip to content

Commit 0e5099c

Browse files
committed
defining mathjax-newcm
1 parent 4da5835 commit 0e5099c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_layouts/page.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,19 @@
5959

6060
<!-- http://docs.mathjax.org/ -->
6161
<!-- http://docs.mathjax.org/en/latest/options/output/chtml.html?highlight=displayAlign#the-configuration-block -->
62-
<script defer id="mathjax" src="/assets/@mathjax/mathjax-newcm-font/tex-mml-chtml-mathjax-newcm.js?{{ time }}"></script>
6362
<script>
6463
MathJax = {
6564
chtml: {
66-
displayAlign: 'left',
67-
fontURL: $('#mathjax').attr('src').value.replace(/\/[^\/]*$/, '')
65+
displayAlign: 'left'
6866
},
6967
loader: {
70-
dynamicPrefix: 'self'
68+
paths: {
69+
'mathjax-newcm': '[mathjax]/../@mathjax/mathjax-newcm-font'
70+
}
7171
}
7272
};
73-
console.log($('#mathjax').attr('src').replace(/\/[^\/]*$/, ''));
7473
</script>
74+
<script id="mathjax" src="/assets/mathjax/tex-mml-chtml.js?{{ time }}"></script>
7575

7676
<!-- https://github.com/verlok/vanilla-lazyload -->
7777
<script src="/assets/intersection-observer/intersection-observer.js?{{ time }}"></script>

0 commit comments

Comments
 (0)