summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2022-09-24 12:39:57 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2022-09-24 12:39:57 -0400
commit854753b98f8c008357937e85149940262f996ca9 (patch)
tree9d70e4ca67b1d9c7404d8b9f196b8750d694fd35
parentcef9f7ad1bdc417b82fff594b0b01fc7078a272e (diff)
mermaid testmermaid
-rw-r--r--README.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1bdc876..e0bd6ca 100644
--- a/README.md
+++ b/README.md
@@ -23,3 +23,31 @@ one files using their aforementioned filenames. Any function used by more than
one of those functions are located in the `format.h` header files. Also, the
`testsuite.c` provides an easy way to test the library with multiple edge cases
using data contained in the `testData.h` header file.
+
+# Testing mermaid support on github
+
+This is a sample UML mermaid file:
+
+```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()
+ }
+```