Skip to content

Commit 89ee181

Browse files
Fix fonts
1 parent a914129 commit 89ee181

File tree

3 files changed

+229
-2
lines changed

3 files changed

+229
-2
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
dist/*
21
node_modules/*
32
package-lock.json

dist/LaTeX.plugin.js

+225
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/LaTeX.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
MathJax={tex:{inlineMath:[['mthjxinline','mthjxinlineend']],displayMath:[['mthjxblock','mthjxblockend']]}};
1+
MathJax={
2+
tex:{inlineMath:[['mthjxinline','mthjxinlineend']],displayMath:[['mthjxblock','mthjxblockend']]},
3+
chtml:{fontURL: "https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2"}
4+
};
25
localStorage={getItem(){},setItem(){},removeItem(){}};
36
require('mathjax-full/es5/tex-chtml-full');
47

0 commit comments

Comments
 (0)