bubkoo / hexo-filter-sequence

Generate UML sequence diagrams for Hexo.
MIT License
39 stars 12 forks source link

时序图显示失败-解决方案 #9

Open xiaocc2012 opened 6 years ago

xiaocc2012 commented 6 years ago

主要参考这篇文章: http://wewelove.github.io/fcoder/2017/09/06/markdown-sequence/

1.在 _config.yml 中添加 sequence:相关配置 2.修改 node_modules/hexo-filter-sequence/index.js文件,将其彻底清空,然后将博客中 index.js 内容copy进去 3.修改 node_modules/hexo-filter-sequence/lib/renderer.js文件,将 26 - 31 行,var config = this.config.flowchart; 及以下的 data.content 等行,按照博客中修改。 4.修改完毕后执行 hexo clean,hexo g,hexo s 5.时序图可以正常显示了