Problem:
Using the JSON configuration parameters to customize the symbol, i.e. showing an actor in a sequenceDiagram, results in a Unrecognized text error on the preview.
Example
Following the docs' example: Sequence Diagrams on the actors section:
sequenceDiagram
participant Alice@{ "type" : "boundary" }
participant Bob
Alice->>Bob: Request from boundary
Bob->>Alice: Response to boundary
Results on the following error on the preview window:
Lexical error on line 2. Unrecognized text.
...ram participant Alice@{ "type" : "bo
----------------------^
Additional information
- VS-Code version 1.114.0
- mermaid-preview extension version: 2.1.2
Online version
This was reported and fixed on the online version: mermaid-js/mermaid#6935 but hasn't been fixed on the preview extension
Problem:
Using the JSON configuration parameters to customize the symbol, i.e. showing an actor in a sequenceDiagram, results in a
Unrecognized texterror on the preview.Example
Following the docs' example: Sequence Diagrams on the actors section:
Results on the following error on the preview window:
Additional information
Online version
This was reported and fixed on the online version: mermaid-js/mermaid#6935 but hasn't been fixed on the preview extension