Theme Files Update

This commit is contained in:
GitHub Action 2023-09-14 15:11:16 +00:00
parent 9cb8a5f2fc
commit 7fdf67fab5
2 changed files with 25 additions and 13 deletions

View file

@ -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'
})
});