hexo/node_modules/hexo-theme-butterfly/layout/includes/third-party/math/katex.pug

9 lines
294 B
Plaintext
Raw Normal View History

2023-09-25 15:58:56 +08:00
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 => {
btf.wrap(item, 'div', { class: 'katex-wrap'})
})
})()