diff --git a/web/docs/_example/page.mdx b/web/docs/_example/page.mdx index 995d165..5528ff1 100644 --- a/web/docs/_example/page.mdx +++ b/web/docs/_example/page.mdx @@ -20,15 +20,32 @@ Nice Diagram ```mermaid -gantt - title A Gantt Diagram - dateFormat YYYY-MM-DD - section Section - A task :a1, 2014-01-01, 30d - Another task :after a1, 20d - section Another - Task in Another :2014-01-12, 12d - another task :24d +--- +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() + } ``` Some code diff --git a/web/src/app/docs/[[...slug]]/page.tsx b/web/src/app/docs/[[...slug]]/page.tsx index abff799..22bbe58 100644 --- a/web/src/app/docs/[[...slug]]/page.tsx +++ b/web/src/app/docs/[[...slug]]/page.tsx @@ -163,7 +163,7 @@ export default async function Page({ params }: Props) {
{code}-