-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
1,870 additions
and
355 deletions.
There are no files selected for viewing
Binary file modified
BIN
+2.2 KB
(100%)
...l-regression-tests-rdmd-syntax-renders-code-blocks-without-surprises-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
## Built-In Components | ||
|
||
### Accordion | ||
|
||
<Accordion title="My Accordion Title" icon="fa fa-info-circle" iconColor="#018ef5"> | ||
Lorem ipsum dolor sit amet, **consectetur adipiscing elit.** Ut enim ad minim veniam, quis nostrud exercitation | ||
ullamco. Excepteur sint occaecat cupidatat non proident! | ||
</Accordion> | ||
|
||
--- | ||
|
||
### Cards | ||
|
||
<Cards columns={2}> | ||
<Card title="First Card" href="https://readme.com" icon="fa fa-home" iconColor="#018ef5" target="_blank"> | ||
Neque porro quisquam est qui dolorem ipsum quia | ||
</Card> | ||
<Card title="Second Card" icon="fa fa-user" iconColor="#018ef5"> | ||
*Lorem ipsum dolor sit amet, consectetur adipiscing elit* | ||
</Card> | ||
<Card title="Third Card" icon="fa fa-star" iconColor="#018ef5"> | ||
> Ut enim ad minim veniam, quis nostrud ullamco | ||
</Card> | ||
<Card title="Fourth Card" icon="fa fa-question" iconColor="#018ef5"> | ||
**Excepteur sint occaecat cupidatat non proident** | ||
</Card> | ||
</Cards> | ||
|
||
--- | ||
|
||
### Tabs | ||
|
||
<Tabs> | ||
<Tab title="First Tab">Welcome to the content that you can only see inside the first Tab.</Tab> | ||
<Tab title="Second Tab">Here's content that's only inside the second Tab.</Tab> | ||
<Tab title="Third Tab">Here's content that's only inside the third Tab.</Tab> | ||
</Tabs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
--- | ||
title: 'Mermaid Diagrams' | ||
category: 5fdf7610134322007389a6ed | ||
hidden: false | ||
--- | ||
|
||
## Examples | ||
|
||
### Single Diagram | ||
|
||
```mermaid | ||
graph LR | ||
A --- B | ||
B-->C[fa:fa-ban forbidden] | ||
B-->D(fa:fa-spinner); | ||
``` | ||
|
||
```mermaid | ||
sequenceDiagram | ||
participant Alice | ||
participant Bob | ||
Alice->>John: Hello John, how are you? | ||
loop HealthCheck | ||
John->>John: Fight against hypochondria | ||
end | ||
Note right of John: Rational thoughts <br/>prevail! | ||
John-->>Alice: Great! | ||
John->>Bob: How about you? | ||
Bob-->>John: Jolly good! | ||
``` | ||
|
||
### Multiple Tabs | ||
|
||
```mermaid | ||
--- | ||
title: Animal example | ||
--- | ||
classDiagram | ||
note "From Duck till Zebra" | ||
Animal <|-- Duck | ||
note for Duck "can fly\ncan swim\ncan dive\ncan help in debugging" | ||
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-v2 | ||
[*] --> Still | ||
Still --> [*] | ||
Still --> Moving | ||
Moving --> Still | ||
Moving --> Crash | ||
Crash --> [*] | ||
``` | ||
```mermaid | ||
pie title Pets adopted by volunteers | ||
"Dogs" : 386 | ||
"Cats" : 85 | ||
"Rats" : 15 | ||
``` | ||
|
||
```mermaid diagram | ||
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 | ||
``` | ||
```syntax | ||
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.