mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-10-26 16:34:08 +01:00 
			
		
		
		
	Rebuilding docs
This commit is contained in:
		| @@ -604,10 +604,42 @@ You would define these actions on a separate line after all classes have been de | ||||
|  | ||||
| ## Notes | ||||
|  | ||||
| It is possible to add notes on diagram using `note "line1\nline2"` or note for class using `note for class "line1\nline2"` | ||||
| It is possible to add notes on the diagram using `note "line1\nline2"`. A note can be added for a specific class using `note for <CLASS NAME> "line1\nline2"`. | ||||
|  | ||||
| ### Examples | ||||
|  | ||||
| ```mermaid-example | ||||
| classDiagram | ||||
|     note "This is a general note" | ||||
|     note for MyClass "This is a note for a class" | ||||
|     class MyClass{ | ||||
|     } | ||||
| ``` | ||||
|  | ||||
| ```mermaid | ||||
| classDiagram | ||||
|     note "This is a general note" | ||||
|     note for MyClass "This is a note for a class" | ||||
|     class MyClass{ | ||||
|     } | ||||
| ``` | ||||
|  | ||||
| ```mermaid-example | ||||
| classDiagram | ||||
|     note "This is a general note" | ||||
|     note for MyClass "This is a note for a class" | ||||
|     class MyClass{ | ||||
|     } | ||||
| ``` | ||||
|  | ||||
| ```mermaid | ||||
| classDiagram | ||||
|     note "This is a general note" | ||||
|     note for MyClass "This is a note for a class" | ||||
|     class MyClass{ | ||||
|     } | ||||
| ``` | ||||
|  | ||||
| _URL Link:_ | ||||
|  | ||||
| ```mermaid-example | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Will-Low
					Will-Low