mermaidjs / mermaid-live-editor

Location has moved to https://github.com/mermaid-js/mermaid-live-editor
https://mermaidjs.github.io/mermaid-live-editor/
MIT License
980 stars 180 forks source link

Word wrap for notes in Sequence Diagrams #25

Closed damian-tarnawsky closed 6 years ago

damian-tarnawsky commented 6 years ago

At the moment the live editor does not word wrap notes for sequence diagrams.

Here's a example to paste in: sequenceDiagram participant A participant B note left of A: All is looking great until it doesnt word wrap and my diagram looks sad :(

I love this tool and i think with this feature fixed i'd be using it all the time to design diagrams quickly and add to my high level design documents.

tylerlong commented 6 years ago

Currently you need to do line break manually, like this: https://mermaidjs.github.io/mermaid-live-editor/#/edit/eyJjb2RlIjoic2VxdWVuY2VEaWFncmFtXG5wYXJ0aWNpcGFudCBBXG5wYXJ0aWNpcGFudCBCXG5ub3RlIGxlZnQgb2YgQTogQWxsIGlzIGxvb2tpbmcgZ3JlYXQ8YnIvPiB1bnRpbCBpdCBkb2VzbnQgd29yZDxici8-IHdyYXAgYW5kIG15IDxici8-ZGlhZ3JhbSBsb29rcyBzYWQgOigiLCJtZXJtYWlkIjp7InRoZW1lIjoiZGVmYXVsdCJ9fQ