bpruitt-goddard / vscode-mermaid-syntax-highlight

Markdown syntax support for the Mermaid charting language
MIT License
92 stars 36 forks source link

Multiline text doesn't highlighted #64

Closed dormeiri closed 1 year ago

dormeiri commented 2 years ago

Diagram

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

Actual highlight

image

Expected

The text of the shape A should be highlighted

bpruitt-goddard commented 1 year ago

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