20 January 2020 (Monday)
TT16 (2.201)
7 - 10 pm
Sign up here.
js-sequence```sequence
Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!
```

flowchart.js```flow
st=>start: Start
op=>operation: Your Operation
cond=>condition: Yes or No?
e=>end
st->op->cond
cond(yes)->e
cond(no)->op
```

mermaid-js```mermaid
classDiagram
Animal <|-- Duck
Animal <|-- Fish
Animal <|-- Zebra
Animal : +int age
Animal : +String gender
Animal: +isMammal()
Animal: +mate()
class Duck{
+String beakColor
+swim()
+quack()
}
class Fish{
-int sizeInFeet
-canEat()
}
class Zebra{
+bool is_wild
+run()
}

```mermaid
stateDiagram
[*] --> Still
Still --> [*]
Still --> Moving
Moving --> Still
Moving --> Crash
Crash --> [*]
```

```mermaid
pie
title Pie Chart
"Dogs" : 386
"Cats" : 85
"Rats" : 150
```

Swiss-army knife to convert content
Converting Markdown to HTML
Project documentation with Markdown.
pip install mkdocs
pip install mkdocs-material
cd to the appropriate foldermkdocs new my-project
cd my-project
mkdocs.ymlsite_name: Test
nav:
- Home: index.md
- About: about.md
theme:
name: "material"
mkdocs serve
mkdocs build
/siteFree web hosting for GitHub users
master branch
\site to be placed heremaster branch /docs folder
\site to be placed inside /docsHost the website on GitHub.

Markdown Presentation Ecosystem
This entire slide deck was done entirely in Markdown.

OpenSUTD / IAP2020-MkDocs
An open organisation owned
by the SUTD community.
@flamanta