自学内容网 自学内容网

博客搭建之路:hexo使用next主题渲染流程图



hexo使用next主题渲染流程图

hexo版本5.0.2 npm版本6.14.7 next版本7.8.0

next主题的配置文件中搜索找到mermaid,把enable配置改为true

mermaid:
  enable: true
  # Available themes: default | dark | forest | neutral
  theme: default

然后在博客下安装hexo-filter-mermaid-diagrams

npm install hexo-filter-mermaid-diagrams --save

之后正常编译构建流程图就可以渲染出来了

hexo cl && hexo g && hexo s

参考文献


原文地址:https://blog.csdn.net/Lxn2zh/article/details/142910986

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!