From 3dce04e0a9414e7bb1c8f1cd51bb1ea26b176719 Mon Sep 17 00:00:00 2001 From: Justin Greywolf Date: Mon, 11 Dec 2023 04:45:16 -0800 Subject: [PATCH] Update packages/mermaid/src/docs/syntax/classDiagram.md Co-authored-by: Alois Klink --- packages/mermaid/src/docs/syntax/classDiagram.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/mermaid/src/docs/syntax/classDiagram.md b/packages/mermaid/src/docs/syntax/classDiagram.md index 242a8f8ce..5f08c2d42 100644 --- a/packages/mermaid/src/docs/syntax/classDiagram.md +++ b/packages/mermaid/src/docs/syntax/classDiagram.md @@ -530,14 +530,6 @@ classDiagram style Mineral fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5 ``` -```mermaid -classDiagram - class Animal - class Mineral - style Animal fill:#f9f,stroke:#333,stroke-width:4px - style Mineral fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5 -``` - #### Classes More convenient than defining the style every time is to define a class of styles and attach this class to the nodes that