mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-25 10:20:06 +02:00
Test docs:verify
This commit is contained in:
@@ -493,14 +493,14 @@ It is also possible to attach a class to a list of nodes in one statement:
|
|||||||
|
|
||||||
A shorter form of adding a class is to attach the classname to the node using the `:::` operator:
|
A shorter form of adding a class is to attach the classname to the node using the `:::` operator:
|
||||||
|
|
||||||
```mmd
|
```mermaid-example
|
||||||
classDiagram
|
classDiagram
|
||||||
class Animal:::cssClass
|
class Animal:::cssClass
|
||||||
```
|
```
|
||||||
|
|
||||||
Or:
|
Or:
|
||||||
|
|
||||||
```mmd
|
```mermaid-example
|
||||||
classDiagram
|
classDiagram
|
||||||
class Animal:::cssClass {
|
class Animal:::cssClass {
|
||||||
-int sizeInFeet
|
-int sizeInFeet
|
||||||
|
Reference in New Issue
Block a user