Mermaid for DiscuzX. Mermaid是一个从文本生成流程图,时序图,甘特图的工具. 使用标签 [mermaid][/mermaid].
一个甘特图的例子
[mermaid]
gantt
dateFormat YYYY-MM-DD
title Adding GANTT diagram functionality to mermaid
section A section
Completed task :done, des1, 2014-01-06,2014-01-08
Active task :active, des2, 2014-01-09, 3d
Future task : des3, after des2, 5d
Future task2 : des4, after des3, 5d
section Critical tasks
Completed task in the critical line :crit, done, 2014-01-06,24h
Implement parser and jison :crit, done, after des1, 2d
Create tests for parser :crit, active, 3d
Future task in critical line :crit, 5d
Create tests for renderer :2d
Add to mermaid :1d
[/mermaid]
可视化编辑器
独立的可选插件,提供编辑器工具和实时预览功能,安装链接 https://addon.dismall.com/plugins/zxsq_editor.html。
以下插件支持实时预览:Mermaid,Markdown,时序图,流程图,数学公式,代码高亮
以下插件仅支持点击按钮预览:Graphviz,Ditaa