mirror of
https://github.com/documize/community.git
synced 2025-08-04 13:05:23 +02:00
upgraded libs and improved Markdown editing experience
This commit is contained in:
parent
2e146cf767
commit
ea1a8000ee
165 changed files with 15930 additions and 19013 deletions
19
app/public/codemirror/mode/mscgen/xu_test.js
vendored
19
app/public/codemirror/mode/mscgen/xu_test.js
vendored
|
@ -9,7 +9,13 @@
|
|||
"[keyword msc][bracket {]",
|
||||
"[base ]",
|
||||
"[bracket }]"
|
||||
);
|
||||
);
|
||||
|
||||
MT("empty chart",
|
||||
"[keyword xu][bracket {]",
|
||||
"[base ]",
|
||||
"[bracket }]"
|
||||
);
|
||||
|
||||
MT("comments",
|
||||
"[comment // a single line comment]",
|
||||
|
@ -29,6 +35,11 @@
|
|||
"[keyword alt]","[keyword loop]","[keyword opt]","[keyword ref]","[keyword else]","[keyword break]","[keyword par]","[keyword seq]","[keyword assert]"
|
||||
);
|
||||
|
||||
MT("xù/ msgenny constants classify as 'variable'",
|
||||
"[variable auto]",
|
||||
"[variable true]", "[variable false]", "[variable on]", "[variable off]"
|
||||
);
|
||||
|
||||
MT("mscgen options classify as keyword",
|
||||
"[keyword hscale]", "[keyword width]", "[keyword arcgradient]", "[keyword wordwraparcs]"
|
||||
);
|
||||
|
@ -61,9 +72,9 @@
|
|||
);
|
||||
|
||||
MT("a typical program",
|
||||
"[comment # typical mscgen program]",
|
||||
"[keyword msc][base ][bracket {]",
|
||||
"[keyword wordwraparcs][operator =][string \"true\"][keyword hscale][operator =][string \"0.8\"][keyword arcgradient][operator =][base 30;]",
|
||||
"[comment # typical xu program]",
|
||||
"[keyword xu][base ][bracket {]",
|
||||
"[keyword wordwraparcs][operator =][string \"true\"][base , ][keyword hscale][operator =][string \"0.8\"][base , ][keyword arcgradient][operator =][base 30, ][keyword width][operator =][variable auto][base ;]",
|
||||
"[base a][bracket [[][attribute label][operator =][string \"Entity A\"][bracket ]]][base ,]",
|
||||
"[base b][bracket [[][attribute label][operator =][string \"Entity B\"][bracket ]]][base ,]",
|
||||
"[base c][bracket [[][attribute label][operator =][string \"Entity C\"][bracket ]]][base ;]",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue