diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2022-09-24 12:39:57 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2022-09-24 12:39:57 -0400 |
commit | 854753b98f8c008357937e85149940262f996ca9 (patch) | |
tree | 9d70e4ca67b1d9c7404d8b9f196b8750d694fd35 | |
parent | cef9f7ad1bdc417b82fff594b0b01fc7078a272e (diff) |
mermaid testmermaid
-rw-r--r-- | README.md | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -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() + } +``` |