mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 23:09:49 +02:00
Merge branch '2408-support-style-for-class' of https://github.com/mermaid-js/mermaid into 2408-support-style-for-class
This commit is contained in:
@@ -766,9 +766,9 @@ Beginner's tip—a full example using interactive links in an HTML page:
|
|||||||
|
|
||||||
## Styling
|
## Styling
|
||||||
|
|
||||||
### Styling a node
|
### Styling a node (v\<MERMAID_RELEASE_VERSION>+)
|
||||||
|
|
||||||
It is possible to apply specific styles such as a thicker border or a different background color to a node.
|
It is possible to apply specific styles such as a thicker border or a different background color to an individual node using the `style` keyword.
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
classDiagram
|
classDiagram
|
||||||
|
@@ -518,9 +518,9 @@ Beginner's tip—a full example using interactive links in an HTML page:
|
|||||||
|
|
||||||
## Styling
|
## Styling
|
||||||
|
|
||||||
### Styling a node
|
### Styling a node (v<MERMAID_RELEASE_VERSION>+)
|
||||||
|
|
||||||
It is possible to apply specific styles such as a thicker border or a different background color to a node.
|
It is possible to apply specific styles such as a thicker border or a different background color to an individual node using the `style` keyword.
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
classDiagram
|
classDiagram
|
||||||
|
Reference in New Issue
Block a user