优化无法被解析公式的显示效果
This commit is contained in:
@@ -20,7 +20,14 @@
|
||||
</body>
|
||||
{{renderMathInElement}}
|
||||
{{mermaid}}
|
||||
|
||||
<script>
|
||||
setTimeout(()=>{
|
||||
const KatexErrors=document.getElementsByClassName("katex-error")
|
||||
for (const katexError of KatexErrors) {
|
||||
katexError.innerHTML=katexError.title
|
||||
}
|
||||
},200)
|
||||
</script>
|
||||
<script>
|
||||
mermaid.initialize({
|
||||
securityLevel: 'loose',
|
||||
|
||||
Reference in New Issue
Block a user