Skip to content

Commit

Permalink
chore: change mermaid from cdn to npm (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
YangFong committed Aug 27, 2024
1 parent bd31da9 commit 223d59b
Show file tree
Hide file tree
Showing 4 changed files with 719 additions and 12 deletions.
6 changes: 0 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,4 @@
<!-- built files will be auto injected -->
</body>
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/wechatsync/article-syncjs@latest/dist/main.js"></script>
<!-- 支持一下 mermaid -->
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs'
mermaid.initialize({ startOnLoad: true })
window.mermaid = mermaid
</script>
</html>
Loading

0 comments on commit 223d59b

Please sign in to comment.