Skip to content

Commit

Permalink
mermaid 渲染
Browse files Browse the repository at this point in the history
  • Loading branch information
tangly1024 committed Jun 23, 2023
1 parent 6e76efc commit 1b9a951
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/PrismMac.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ const PrismMac = () => {
window.Prism.plugins.autoloader.languages_path = BLOG.PRISM_JS_PATH
}
renderPrismMac()
renderMermaid()
})
}
setTimeout(() => {
renderMermaid()
}, 500)
}, [])
return <></>
}
Expand Down

0 comments on commit 1b9a951

Please sign in to comment.