sphinxcontrib-mermaid icon indicating copy to clipboard operation
sphinxcontrib-mermaid copied to clipboard

Sequence diagram empty directive marked as incorrect mermaidJS

Open MaxWinsemius opened this issue 7 months ago • 0 comments

I noticed when working on sequenceDiagrams, that the method of rendering does not match with the mermaid live renderer.

When using the following snippet:

sequenceDiagram
    node_a->>node_b: comment
    node_b->>node_a: 

(Note the space at the end of line 3)

I get the following render from the live renderer:

image

But an error if build using sphinx:

image

Now I do not know if this syntax is even supported on purpose by Mermaid, since I didn't find any examples of that either and if I remove the space on line 3 it also fails.

MaxWinsemius avatar Jun 30 '24 21:06 MaxWinsemius