mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown

Home Page:https://mermaid.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

adding Markdown to SequenceDiagram Notes

darkedges opened this issue · 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