mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
mermaid 渲染
This commit is contained in:
@@ -30,11 +30,9 @@ const PrismMac = () => {
|
||||
window.Prism.plugins.autoloader.languages_path = BLOG.PRISM_JS_PATH
|
||||
}
|
||||
renderPrismMac()
|
||||
renderMermaid()
|
||||
})
|
||||
}
|
||||
setTimeout(() => {
|
||||
renderMermaid()
|
||||
}, 500)
|
||||
}, [])
|
||||
return <></>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user