cherry-markdown
cherry-markdown copied to clipboard
[Docs]请问一下,Browser模式下如何引入mermaid和echarts库
Prerequisites
- [ ] There isn't an existing issue with the same question or request to avoid duplicates.
Issue Type
Question
Description of the Problem or Idea
请问一下,Browser模式下如何引入mermaid和echarts库 就是纯js环境,不使用npm
Further Information
No response
Contributing
No, I don't plan to at this time.
直接引入就好了
<!--mermaid-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js"></script>
<!--echarts-->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/echarts.js"></script>
参考: Cherry Muse
直接引入就好了
<!--mermaid--> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js"></script> <!--echarts--> <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/echarts.js"></script>参考: Cherry Muse
好的,我试试
还可以看这篇文档哈:https://github.com/Tencent/cherry-markdown/wiki/%E6%9E%84%E5%BB%BA%E4%BA%A7%E7%89%A9%E4%BB%8B%E7%BB%8D