https://www.tmd9.com/plugin.php?id=zxsq_mermaid# |" K8 w3 u# @0 f0 F# l
discuz_plugin_zxsq_mermaid_SC_GBK.xml (简体 GBK 编码)* P7 F( y+ u9 |* d. {, Z
discuz_plugin_zxsq_mermaid_SC_UTF8.xml (简体 UTF8SC 编码)+ [$ X3 ^# P3 x6 S% G
discuz_plugin_zxsq_mermaid_TC_UTF8.xml (繁体 UTF8TC 编码)
# ]1 w; M: H# N {) b- T$ }discuz_plugin_zxsq_mermaid_TC_BIG5.xml (繁体 BIG5 编码)& ], f, ?/ z; j6 E1 y3 X
3 y5 S- [! Y5 s; m: m( H
% `8 I/ a5 R0 g2 |/ @- ]# G' QMermaid for DiscuzX. Mermaid是一个从文本生成流程图,时序图,甘特图的工具. 使用标签 [mermaid][/mermaid].; m, U E! m, [3 T) n3 _* x) c
2 U1 S2 Z4 b6 t' w
一个甘特图的例子
% x7 b W. x0 v/ t1 {2 K7 f( G9 d6 X- F' x$ F z
[mermaid]
% q1 ^ ~! n( U, v, f3 Hgantt
3 @5 k" G! I4 G. _ dateFormat YYYY-MM-DD. C6 U z, B- y2 l) C
title Adding GANTT diagram functionality to mermaid
/ ~) s2 b8 l: j0 r' y3 S section A section9 j- |) ^1 I& j/ I4 D; d$ Y
Completed task :done, des1, 2014-01-06,2014-01-08
& v$ p a& I& O j2 C! |/ O Active task :active, des2, 2014-01-09, 3d
t5 p- o( W Q Future task : des3, after des2, 5d
& `5 ~$ I5 t9 o Future task2 : des4, after des3, 5d7 M& q' `2 J$ W& ], A1 v" u- z
section Critical tasks8 R! ~, K9 j" J3 a
Completed task in the critical line :crit, done, 2014-01-06,24h
0 Q- Z; Q" G8 f+ z; {8 g3 e Implement parser and jison :crit, done, after des1, 2d
; b: h4 N9 ]: M Create tests for parser :crit, active, 3d N i$ R( h" X! @; _/ t
Future task in critical line :crit, 5d6 W2 c0 V+ Y3 l% H+ U3 e7 y9 D
Create tests for renderer :2d; }8 C+ l) ]6 P+ C! x
Add to mermaid :1d
J' _$ n0 |- `& u1 f( U# |[/mermaid]8 J0 p; O9 [# }& r/ T0 y
/ L* N% W/ R$ _/ i: O2 x: U可视化编辑器/ k+ f3 r, U# H0 @0 G
) ?8 R% U4 o6 _
独立的可选插件,提供编辑器工具和实时预览功能,安装链接 https://www.tmd9.com/plugins/zxsq_editor.html。
3 A/ Q, o$ @7 q- Z! q2 t. e以下插件支持实时预览:Mermaid,Markdown,时序图,流程图,数学公式,代码高亮
& T" k8 A2 m. Y/ E以下插件仅支持点击按钮预览:Graphviz,Ditaa
# C7 Q! Z6 K5 C V k8 y7 f! k: E- H
|