Skip to content

Commit

Permalink
main
Browse files Browse the repository at this point in the history
  • Loading branch information
mvarga1989 committed Oct 17, 2023
1 parent 67031c4 commit 9e7af51
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

## Sources
- [Mermaid cheat sheet](https://jojozhuang.github.io/tutorial/mermaid-cheat-sheet/)
- [Creating data structure diagrams with Mermaid](https://jojozhuang.github.io/tutorial/creating-data-structure-diagrams-with-mermaid/)
- [Mermaid demo](https://mvarga1989.github.io/Mermaid_notebook/)

## Examples
Expand Down
11 changes: 10 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<!DOCTYPE html>

# https://jojozhuang.github.io/tutorial/generating-diagrams-and-flowcharts-with-mermaid/
<html lang="en">

<head>

<meta charset="utf-8">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" crossorigin="anonymous">

</head>

Expand All @@ -21,6 +22,14 @@
B-->D(Sad);

</div>

<div class="mermaid">
graph TD
B[peace]
B-->C[fa:fa-ban forbidden]
B-->D(fa:fa-spinner);
B-->E(fa:fa-camera-retro perhaps?);
</div>

<script src="https://unpkg.com/mermaid@8.0.0-rc.8/dist/mermaid.min.js"></script>

Expand Down

0 comments on commit 9e7af51

Please sign in to comment.