https://www.tmd9.com/plugin.php?id=zxsq_mermaid8 f% P1 `# \) `/ Q8 N; j- O/ A
discuz_plugin_zxsq_mermaid_SC_GBK.xml (简体 GBK 编码)2 Y+ F+ o4 G( I
discuz_plugin_zxsq_mermaid_SC_UTF8.xml (简体 UTF8SC 编码)4 `2 o* K8 N+ D$ d* X$ `$ w
discuz_plugin_zxsq_mermaid_TC_UTF8.xml (繁体 UTF8TC 编码)
% a$ L' K+ {9 a: f( _discuz_plugin_zxsq_mermaid_TC_BIG5.xml (繁体 BIG5 编码)
, E4 c+ U$ `- x: ~- h: i, w9 D% d
! b d; ?6 U5 y, r U$ b w9 w$ l/ o
Mermaid for DiscuzX. Mermaid是一个从文本生成流程图,时序图,甘特图的工具. 使用标签 [mermaid][/mermaid].) M9 s& }# J" j: Q) J }
4 q/ Z, F {- S! z! [% O; O
一个甘特图的例子
6 I& X- c1 }2 Y' ^# n8 s9 C3 I/ m: T1 o2 j, \* g6 \. n. F. k
[mermaid]
/ P1 X9 \# c; Tgantt
( m; d1 ~! ~' `. d+ N; j dateFormat YYYY-MM-DD
s3 ?4 H4 Q, H% P title Adding GANTT diagram functionality to mermaid. M/ j! J3 A: b: D. @$ i$ t; Y2 s( v+ h
section A section
0 e3 [( e# l L# O( x Completed task :done, des1, 2014-01-06,2014-01-08; i2 O. n3 U) K' b6 q( w. c
Active task :active, des2, 2014-01-09, 3d
+ f; A8 Z) {- S8 I+ U Future task : des3, after des2, 5d
/ b0 B [1 L9 b+ o& z Future task2 : des4, after des3, 5d
% F' o8 i! ~" O/ l! c section Critical tasks, |" ]. c' z8 g8 M. U1 e
Completed task in the critical line :crit, done, 2014-01-06,24h
, B) y! T& g' k* | Implement parser and jison :crit, done, after des1, 2d
. D% L9 v8 D' O, Z& `1 }# G: P Create tests for parser :crit, active, 3d$ e" s; K* Z/ O! U! {! |" T, K$ {& i
Future task in critical line :crit, 5d
7 t$ i0 ~' N- C Create tests for renderer :2d
B3 _5 M, x1 l Add to mermaid :1d
' L- j5 U$ ? d6 R! r[/mermaid]) T- ^ M1 v- _: P% M
, ]5 S' q: @& A* W& a* }) e可视化编辑器
: B- S# w2 q4 U8 r. u# D; b( R, p I6 F: q' l( Q
独立的可选插件,提供编辑器工具和实时预览功能,安装链接 https://www.tmd9.com/plugins/zxsq_editor.html。2 E9 O* j% {4 a) ]# K4 b" V
以下插件支持实时预览:Mermaid,Markdown,时序图,流程图,数学公式,代码高亮
+ Z) H- b/ ~. W3 d以下插件仅支持点击按钮预览:Graphviz,Ditaa
: h# ^4 g+ v' Y% \1 h+ Q" y. d7 v/ h0 g/ e( x) t
|