Support Multi-line Actor Descriptions

- Add support for <br/> delimiter in actor descriptions.
- Add actorFontFamily and actorFontSize options to sequence diagram.
- Change default actor description font from times to sans.

Fix #384 #702 #755
This commit is contained in:
Casey Watson
2018-11-26 11:38:10 -07:00
parent a4992963b3
commit 2fc5745c58
3 changed files with 27 additions and 14 deletions

3
dist/index.html vendored
View File

@@ -238,6 +238,9 @@ class A someclass;
<div class="mermaid">
sequenceDiagram
participant Alice
participant Bob
participant John as John<br/>Second Line
Alice ->> Bob: Hello Bob, how are you?
Bob-->>John: How about you John?
Bob--x Alice: I am good thanks!