mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-30 05:36:43 +02:00
#1033 Better handling of multiline notes
This commit is contained in:
@@ -7,13 +7,14 @@ describe('State diagram', () => {
|
||||
`
|
||||
stateDiagram
|
||||
State1: The state with a note
|
||||
note right of State1
|
||||
Important information! You\ncan write
|
||||
notes with multiple lines...
|
||||
Here is another line...
|
||||
And another line...
|
||||
end note
|
||||
`,
|
||||
{}
|
||||
);
|
||||
});
|
||||
});
|
||||
// note right of State1
|
||||
// Important information! You\ncan write
|
||||
// notes with multiple lines...
|
||||
// Here is another line...
|
||||
// end note
|
||||
|
Reference in New Issue
Block a user