第一篇文章 学习下markdown,还挺有意思的

113 阅读1分钟

准备从0开始学习做个App

stateDiagram-v2
[*] --> Still
Still --> [*]

Still --> Moving
Moving --> Still
Moving --> Crash
Crash -->abc
abc-->[*]
Crash --> [*]
classDiagram
Animal <|-- Duck
Animal <|-- Fish
Animal <|-- Zebra
Animal <|-- Dog
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()
}
class Dog{
+bool is_wild
+run()
+wangwang()
}
void main()
{
    print("hello world");
}
graph TD
Start --> Stop
title
12
58
34
pie title 这个很好玩
"猫猫" : 386
"狗狗" : 85
"蜀黍" : 150
erDiagram
CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE-ITEM : contains
CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
journey
title My working day
section Go to work
Make tea: 5: Me
Go upstairs: 3: Me
Do work: 1: Me, Cat
section Go home
Go downstairs: 5: Me
Sit down: 5: Me

5-33d2da32c552b8be9a0548c7a4576607.jpg

这个东西 很好玩

你也来试试

erDiagram
CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE-ITEM : contains
CUSTOMER }|..|{ DELIVERY-ADDRESS : uses

我是引用

这个东西还挺好玩

今天要接孩子 自己去。