Theme Files Update
This commit is contained in:
parent
9cb8a5f2fc
commit
7fdf67fab5
2 changed files with 25 additions and 13 deletions
|
@ -1,17 +1,19 @@
|
|||
MathJax = {
|
||||
tex: {
|
||||
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
||||
displayMath: [['$$','$$'], ['\\[', '\\]']],
|
||||
displayMath: [['$$', '$$'], ['\\[', '\\]']],
|
||||
processEscapes: true,
|
||||
processEnvironments: true
|
||||
processEnvironments: true,
|
||||
},
|
||||
options: {
|
||||
skipHtmlTags: ['script', 'noscript', 'style', 'textarea', 'pre'],
|
||||
enableMenu: false
|
||||
}
|
||||
},
|
||||
svg: {fontCache: 'global'}
|
||||
};
|
||||
|
||||
window.addEventListener('load', (event) => {
|
||||
document.querySelectorAll("mjx-container").forEach(function(x){
|
||||
x.parentElement.classList += 'has-jax'})
|
||||
});
|
||||
window.addEventListener('load', (event) => {
|
||||
document.querySelectorAll("mjx-container").forEach(function (x) {
|
||||
x.parentElement.classList += 'has-jax'
|
||||
})
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue