Terramaid icon indicating copy to clipboard operation
Terramaid copied to clipboard

Parse Error when rendering

Open guicane opened this issue 5 months ago • 1 comments

Describe the bug Trying Terramaid for the first time and when seeing the preview in IntelliJ with the mermaid plugin installed I get a parse error. Relatively simple terraform configuration. Seems to fail when loading the google cloud terraform module.

Parse error on line 5:
...		subgraph Provider[\Registry.terraform
----------------------^
Expecting 'SEMI', 'NEWLINE', 'SPACE', 'EOF', 'GRAPH', 'DIR', 'subgraph', 'SQS', 'end', 'AMP', 'COLON', 'START_LINK', 'STYLE', 'LINKSTYLE', 'CLASSDEF', 'CLASS', 'CLICK', 'DOWN', 'UP', 'NUM', 'NODE_STRING', 'BRKT', 'MINUS', 'MULT', 'UNICODE_TEXT', got 'INVTRAPSTART'

To Reproduce Preview the output file Terramaid.md in IntelliJ (with mermaid extension installed) throws the error.

Expected behavior I should be able to see the graph.

Screenshots Screenshot 2024-08-29 at 12 26 42

guicane avatar Aug 29 '24 11:08 guicane