Mermaid md not supporting latest sequence diagram capabilities
Current rendering of mermaid sequence diagram CANNOT support multiple
else if type of
alt routes as supported with the latest mermaid library.
Steps to reproduce
This does not render in gitlab:
%% **NOTE**: Alt's in gitlab cannot support more than 2 paths sequenceDiagram participant A as Alice participant J as John A->>J: Hello John, how are you? loop Healthcheck J->>J: Fight against hypochondria end Note right of J: Rational thoughts <br/>prevail... alt is sick? J->>J: Drink the medicine else is moody? J->>J: Keep smiling! else is sad? J->>: Eat chocolate! end opt no one is home J-->>J: check VM on return end
BUT it does in mermaid live editor:
Shown in above
What is the current bug behavior?
See the black rendering above
What is the expected correct behavior?
Follow this link
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Update gitlab.com to latest library version of https://mermaidjs.github.io