https://www.tmd9.com/plugin.php?id=zxsq_mermaid' f n. s- g" F: s7 D; e) x7 X
discuz_plugin_zxsq_mermaid_SC_GBK.xml (简体 GBK 编码)
$ P: P* p# x3 A0 ?4 g+ V$ odiscuz_plugin_zxsq_mermaid_SC_UTF8.xml (简体 UTF8SC 编码)8 Q& ~# U$ J# i% `
discuz_plugin_zxsq_mermaid_TC_UTF8.xml (繁体 UTF8TC 编码)8 w2 P- h* Y9 H# U1 [9 {
discuz_plugin_zxsq_mermaid_TC_BIG5.xml (繁体 BIG5 编码)
) a* H1 _, {0 t8 K$ `& e6 W/ n4 }: ?
1 o, h: r# [: n1 Y3 M& f( a3 yMermaid for DiscuzX. Mermaid是一个从文本生成流程图,时序图,甘特图的工具. 使用标签 [mermaid][/mermaid].7 O: y5 c, }& ]' T: e) e
: V" e3 k3 t7 Z: z- k0 K% b一个甘特图的例子
/ }7 W1 N+ X7 @: \% `+ f! W: e6 O# j; E
[mermaid]. x- r/ N# r. w" n2 n2 Q3 a/ I/ y. C
gantt
% d' ~4 ~7 d5 E0 X- k+ r) Z( F dateFormat YYYY-MM-DD; q! @* a, b$ W! Y
title Adding GANTT diagram functionality to mermaid! E" a. Z8 I2 A" n% b2 m
section A section: |9 G7 ~7 U& T2 s
Completed task :done, des1, 2014-01-06,2014-01-08
' E# S! e* H5 v Active task :active, des2, 2014-01-09, 3d9 W! N( F- N6 S0 \" |
Future task : des3, after des2, 5d/ m' Y- Y! j3 C' Z% K' w; D
Future task2 : des4, after des3, 5d
; R; _$ Y, V% `1 Z3 q6 E, w section Critical tasks
# m+ W% {/ [7 j6 W3 S! L; m0 {8 n Completed task in the critical line :crit, done, 2014-01-06,24h# \) l D" h3 k; n
Implement parser and jison :crit, done, after des1, 2d
U2 d. f" C% u( x, U' T* U Create tests for parser :crit, active, 3d& v& u* r1 U& h H2 J
Future task in critical line :crit, 5d
- x" p/ {/ w. e$ h8 {8 p# F Create tests for renderer :2d |; a3 t% ^- i7 R5 K
Add to mermaid :1d
0 b( `3 O# {9 x6 Y# ]. F3 r[/mermaid]
3 W: Q2 D! d& a: t+ o$ Z% g2 O. N% |3 `/ q( G
可视化编辑器, Y( r$ k3 H* ^/ a9 F
+ L2 o& H: x$ f Z8 V" b+ j) @独立的可选插件,提供编辑器工具和实时预览功能,安装链接 https://www.tmd9.com/plugins/zxsq_editor.html。
' }; k, r1 S8 ?4 ~ e2 e以下插件支持实时预览:Mermaid,Markdown,时序图,流程图,数学公式,代码高亮6 z+ m8 I* z; g/ J" B/ i/ j
以下插件仅支持点击按钮预览:Graphviz,Ditaa" X9 d5 p, d% w' t$ l, P
4 W; K' r# y i& X. Q" o
|