mathjax
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
window.MathJax = {
|
||||
tex: {
|
||||
inlineMath: [['\\(', '\\)']],
|
||||
displayMath: [['\\[', '\\]']],
|
||||
processEscapes: true,
|
||||
processEnvironments: true
|
||||
},
|
||||
options: {
|
||||
ignoreHtmlClass: '.*|',
|
||||
processHtmlClass: 'arithmatex'
|
||||
}
|
||||
};
|
||||
|
||||
const mathJaxScript = document.createElement('script');
|
||||
mathJaxScript.src = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js';
|
||||
mathJaxScript.async = true;
|
||||
document.head.appendChild(mathJaxScript);
|
||||
Reference in New Issue
Block a user