diff --git a/docs/syntax/classDiagram.md b/docs/syntax/classDiagram.md index e60055413..a07078a64 100644 --- a/docs/syntax/classDiagram.md +++ b/docs/syntax/classDiagram.md @@ -786,22 +786,6 @@ classDiagram style Mineral fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5 ``` -```mermaid-example -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 -``` - -```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