mermaid icon indicating copy to clipboard operation
mermaid copied to clipboard

adding Markdown to SequenceDiagram Notes

Open darkedges opened this issue 10 months ago • 0 comments

Proposal

adding markdown to sequenceDiagram notes. Using a package such as https://marked.js.org/ to help render the contents. Can be extended to notes in general, by replacing the text renderer with this.

Open to other design ideas.

Example

sequenceDiagram
  participant am
  note left of am
  note left of am
     <markdown here>
     <markdown here>
     <markdown here>
  end

or

sequenceDiagram
  participant am
  note left of am["
     <markdown here>
     <markdown here>
     <markdown here>
  "]

Screenshots

image

darkedges avatar Apr 13 '24 20:04 darkedges