Skip to content

Commit 2613b63

Browse files
committed
feat(docs): update features.md for plantuml and vega-lite examples
Signed-off-by: Max Wu <jackymaxj@gmail.com>
1 parent 49c6672 commit 2613b63

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

public/docs/features.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,45 @@ GABc dedB|dedB dedB|c2ec B2dB|A2F2 G4:|
313313
g2gf g2Bd|g2f2 e2d2|c2ec B2dB|A2F2 G4:|
314314
```
315315

316+
### PlantUML
317+
```plantuml
318+
start
319+
if (condition A) then (yes)
320+
:Text 1;
321+
elseif (condition B) then (yes)
322+
:Text 2;
323+
stop
324+
elseif (condition C) then (yes)
325+
:Text 3;
326+
elseif (condition D) then (yes)
327+
:Text 4;
328+
else (nothing)
329+
:Text else;
330+
endif
331+
stop
332+
```
333+
334+
### Vega-Lite
335+
```vega
336+
{
337+
"$schema": "https://vega.github.io/schema/vega-lite/v3.json",
338+
"data": {"url": "https://vega.github.io/editor/data/barley.json"},
339+
"mark": "bar",
340+
"encoding": {
341+
"x": {"aggregate": "sum", "field": "yield", "type": "quantitative"},
342+
"y": {"field": "variety", "type": "nominal"},
343+
"color": {"field": "site", "type": "nominal"}
344+
}
345+
}
346+
```
347+
316348
> More information about **sequence diagrams** syntax [here](http://bramp.github.io/js-sequence-diagrams/).
317349
> More information about **flow charts** syntax [here](http://adrai.github.io/flowchart.js/).
318350
> More information about **graphviz** syntax [here](http://www.tonyballantyne.com/graphs.html)
319351
> More information about **mermaid** syntax [here](http://knsv.github.io/mermaid)
320352
> More information about **abc** syntax [here](http://abcnotation.com/learn)
353+
> More information about **plantuml** syntax [here](http://plantuml.com/index)
354+
> More information about **vega** syntax [here](https://vega.github.io/vega-lite/docs)
321355
322356
Alert Area
323357
---

0 commit comments

Comments
 (0)