bpruitt-goddard/vscode-mermaid-syntax-highlight

Multiline text doesn't highlighted

dormeiri opened this issue · 1 comments

Diagram

flowchart TB
    A["
        Multiline
        text
        1
    "]
    B[Multiline\ntext\n2]

Actual highlight

image

Expected

The text of the shape A should be highlighted

This was a bit trickier than I had expected and required a bit of refactoring. But it is fixed in version 1.4.2 🎉 :

image