madskristensen/MarkdownEditor2022

Update Mermaid version to 10.6.0 to get support for multi part generics in class diagrams

ebjornset opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Mermaid v 10.6.0 supports multi part generics in class diagrams, e.g.

classDiagram
direction LR
class Foo {
+Bar(Func~string,bool~ builder, CancellationToken cancellationToken) Task~string~
}

While this renders fine in Mermaid v 10.6.0 Online editor, rendering it in VS 2022 with the current plugin version (2.0.143) fails with "a bomb picture" and the error message

Syntax error in text
mermaid version 10.2.4

Describe the solution you'd like
Update Mermaid code to v 10.6.0