Skip to content

Commit c63e649

Browse files
committed
push typeset=false into the mathjax chunk
1 parent 324c85a commit c63e649

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
export default (mathjax) => Promise.resolve(window.MathJax || (
22
mathjax === false ?
33
undefined :
4-
import(/* webpackChunkName: "mathjax" */ 'mathjax/es5/tex-svg.js').then(() => {
5-
window.MathJax.config.startup.typeset = false;
6-
7-
return window.MathJax;
8-
})
4+
import(/* webpackChunkName: "mathjax" */ '../mathjax').then(() => window.MathJax)
95
));
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import 'mathjax/es5/tex-svg';
2+
3+
window.MathJax.config.startup.typeset = false;

0 commit comments

Comments
 (0)