fix theme...
This commit is contained in:
9
themes/anzhiyu/layout/includes/third-party/math/katex.pug
vendored
Normal file
9
themes/anzhiyu/layout/includes/third-party/math/katex.pug
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
link(rel="stylesheet" type="text/css" href=url_for(theme.asset.katex))
|
||||
script(src=url_for(theme.asset.katex_copytex))
|
||||
script.
|
||||
(() => {
|
||||
document.querySelectorAll('#article-container span.katex-display').forEach(item => {
|
||||
anzhiyu.wrap(item, 'div', { class: 'katex-wrap'})
|
||||
})
|
||||
})()
|
||||
|
||||
Reference in New Issue
Block a user