Replies: 1 comment 3 replies
-
Ah, it's not that simple. That fork won't work properly. You need to insert generated CSS. Those fonts are these. But other CSS is also missing. @font-face {
font-family: 'MJXZERO';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-B';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-I';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-MI';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-BI';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-S1';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-S2';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-S3';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-S4';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-A';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-C';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-CB';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-FR';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-FRB';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-SS';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-SSB';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-SSI';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-SC';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-T';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-V';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff')
format('woff');
}
@font-face {
font-family: 'MJXTEX-VB';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff')
format('woff');
} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I merged someone else's output patch about markdown-it-mathjax3 (to make it output as text, so that doing so others can copy formulas) and deployed it. The table and text are displayed, but it seems to be missing the fonts MJXZERO, MJXTEX. but I can't find where these 2 fonts are, not sure if it's caused by other issues. Please help me to confirm. Thank you very much.
custom.css
index.js
See also https://taophilosophy.github.io/
Beta Was this translation helpful? Give feedback.
All reactions