Revert "Remove text hint"

This reverts commit ec6ef35d21.
This commit is contained in:
Sidharth Vinod
2023-02-16 15:27:43 +05:30
parent f81f9f7c95
commit 8c7043ffaf
2 changed files with 16 additions and 8 deletions

View File

@@ -318,19 +318,19 @@ There are two ways to apply a `classDef` style to a state:
A `class` statement tells Mermaid to apply the named classDef to one or more classes. The form is:
```
```txt
class [one or more state names, separated by commas] [name of a style defined with classDef]
```
Here is an example applying the `badBadEvent` style to a state named `Crash`:
```
```txt
class Crash badBadEvent
```
Here is an example applying the `movement` style to the two states `Moving` and `Crash`:
```
```txt
class Moving, Crash movement
```
@@ -365,7 +365,7 @@ and `badBadEvent`
You can apply a classDef style to a state using the `:::` (three colons) operator. The syntax is
```
```txt
[state]:::[style name]
```