Skip to content

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

@xiaocc2012

Description

@xiaocc2012

主要参考这篇文章:
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.时序图可以正常显示了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions