From a07fc2f1f55ae2cee0a9ff1f3ad62b512a4c10f0 Mon Sep 17 00:00:00 2001 From: SuenagaRyota Date: Sat, 30 Sep 2017 13:11:55 +0900 Subject: [PATCH] Created Diagram support (markdown) --- Diagram-support.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Diagram-support.md diff --git a/Diagram-support.md b/Diagram-support.md new file mode 100644 index 0000000..8160ff1 --- /dev/null +++ b/Diagram-support.md @@ -0,0 +1,39 @@ +You can use `flowchart` or `Sequence` as a diagram describing tool. + +# flowchart +![image](https://user-images.githubusercontent.com/11307908/29246519-2d7f2032-8038-11e7-97e3-187d8aad18c4.png) + +Please remove back slashes \ before ` + +``` +\`\`\`flowchart +st=>start: Start:>http://www.google.com[blank] +e=>end:>http://www.google.com +op1=>operation: My Operation +sub1=>subroutine: My Subroutine +cond=>condition: Yes +or No?:>http://www.google.com +io=>inputoutput: catch something... + +st->op1->cond +cond(yes)->io->e +cond(no)->sub1(right)->op1 +\`\`\` +``` + +# Sequence + +![image](https://user-images.githubusercontent.com/11307908/29246524-673697ba-8038-11e7-8d4b-c747a6b9520f.png) + +``` +\`\`\`sequence +Title: Here is a title +A->B: Normal line +B-->C: Dashed line +C->>D: Open arrow +D-->>A: Dashed open arrow +\`\`\` +``` + +## ref +https://github.com/BoostIO/Boostnote/issues/771#issuecomment-322023940 \ No newline at end of file