aboutsummaryrefslogtreecommitdiffstats
path: root/site/_posts
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-11-11 19:04:14 +0100
committerStephane Desneux <stephane.desneux@iot.bzh>2016-11-11 19:04:14 +0100
commit217564d4ba9428ed47ff8af6ad119fa6fcda6920 (patch)
tree6c728d992140e6df5e5580f1ce4fa409fa22596f /site/_posts
parent5848a1052714da051ff8361dd880004e8cdc75ce (diff)
webdocs: enhance support for UML and FLOW diagrams
Change-Id: Id346b30e8a1f8705d0f42f6d2e1254c0cf926221 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'site/_posts')
-rw-r--r--site/_posts/2016-07-02-markdown-tuto.md40
1 files changed, 32 insertions, 8 deletions
diff --git a/site/_posts/2016-07-02-markdown-tuto.md b/site/_posts/2016-07-02-markdown-tuto.md
index 387c58a..c1a689a 100644
--- a/site/_posts/2016-07-02-markdown-tuto.md
+++ b/site/_posts/2016-07-02-markdown-tuto.md
@@ -15,9 +15,10 @@ Basic reference for Markdown documentation with:
<!--more-->
**References**:
-- Kramdown http://kramdown.gettalong.org/quickref.html
-- UML diagrams http://bramp.github.io/js-sequence-diagrams/
-- Flow charts http://adrai.github.io/flowchart.js/
+
+- Kramdown [http://kramdown.gettalong.org/quickref.html]
+- UML diagrams [http://bramp.github.io/js-sequence-diagrams/]
+- Flow charts [http://adrai.github.io/flowchart.js/]
Markdown Extra
@@ -34,11 +35,10 @@ StackEdit supports **Markdown Extra**, which extends **Markdown** syntax with so
**Markdown Extra** has a special syntax for tables:
-Item | Value
--------- | ---
-Computer | $1600
-Phone | $12
-Pipe | $1
+| Item | Value
+| Computer | $1600
+| Phone | $12
+| Pope | $1
You can specify column alignment with one or two colons:
@@ -49,6 +49,30 @@ You can specify column alignment with one or two colons:
| Pipe | $1 | 234 |
+|-----------------+------------+-----------------+----------------|
+| Default aligned |Left aligned| Center aligned | Right aligned |
+|-----------------|:-----------|:---------------:|---------------:|
+| First body part |Second cell | Third cell | fourth cell |
+| Second line |foo | **strong** | baz |
+| Third line |quux | baz | bar |
+|-----------------+------------+-----------------+----------------|
+| Second body | | | |
+| 2 line | | | |
+|=================+============+=================+================|
+| Footer row | | | |
+|-----------------+------------+-----------------+----------------|
+
+| Header1 | Header2 | Header3 |
+|:--------|:-------:|--------:|
+| cell1 | cell2 | cell3 |
+| cell4 | cell5 | cell6 |
+|----
+| cell1 | cell2 | cell3 |
+| cell4 | cell5 | cell6 |
+|=====
+| Foot1 | Foot2 | Foot3
+{: rules="groups"}
+
### Definition Lists
**Markdown Extra** has a special syntax for definition lists too: