vscode-markdown-preview-enhanced icon indicating copy to clipboard operation
vscode-markdown-preview-enhanced copied to clipboard

mermaid / C4Context Diagram Syntax is missing

Open aheissenberger opened this issue 2 years ago • 0 comments

The C4 Context Diagram is missing from the bundled mermaid plugin. Maybe the plugin needs to be updated.

C4Context
    title System Context diagram for Internet Banking System
    Enterprise_Boundary(b0, "BankBoundary0") {
    Person(customerA, "Banking Customer A", "A customer of the bank, with personal bank accounts.")
    }

Error:

Parse error on line 1:
C4Context    title 
^
Expecting 'open_directive', 'NEWLINE', 'SPACE', 'GRAPH', got 'ALPHA'

should be:

C4Context
    title System Context diagram for Internet Banking System
    Enterprise_Boundary(b0, "BankBoundary0") {
    Person(customerA, "Banking Customer A", "A customer of the bank, with personal bank accounts.")
    }

aheissenberger avatar Oct 02 '22 09:10 aheissenberger