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