bpruitt-goddard / vscode-mermaid-syntax-highlight

Markdown syntax support for the Mermaid charting language
MIT License
98 stars 37 forks source link

Punctuation marks break graph highlighting #18

Closed vstirbu closed 5 years ago

vstirbu commented 5 years ago

Using punctuation marks ., ,, !, ? in node's text in graph diagrams disables highlighting:

graph LR
  box[New commit.]
  circle((dsfhkdhfkjsd,))
  rounded(dkfhkdshkfs?)
  decision{gsjhgjs!}

produces this result:

screenshot 2019-02-27 at 23 56 05

Plugin version: 1.0.0

bpruitt-goddard commented 5 years ago

Fixed wit the associated PR. I added a few other puncuations as well. I'll push the fix up for this after taking a look at the other issue.

image