mermaid 渲染

This commit is contained in:
tangly1024
2023-06-23 10:46:47 +08:00
parent 6e76efcde0
commit 1b9a951d66

View File

@@ -30,11 +30,9 @@ const PrismMac = () => {
window.Prism.plugins.autoloader.languages_path = BLOG.PRISM_JS_PATH
}
renderPrismMac()
renderMermaid()
})
}
setTimeout(() => {
renderMermaid()
}, 500)
}, [])
return <></>
}