Obsidian Mermaid - Edge id giving error

Steps to reproduce

  1. Write the below code in a new note-

flowchart TD

A e1@--> B

e1@{ animate: true}

  1. Press ‘Enter’

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

A mermaid flowchart with two nodes A and B with an edge in between them. The edge has an animation

Actual result

Getting error as follows -
Parse error on line 2:
flowchart TD A e1@–> B
-----------------^

Expecting ‘SEMI’, ‘NEWLINE’, ‘EOF’, ‘AMP’, ‘START_LINK’, ‘LINK’, got ‘NODE_STRING’

Environment

SYSTEM INFO:
Obsidian version: v1.8.10
Installer version: v1.8.10
Operating system: Darwin Kernel Version 24.4.0: Wed Mar 19 21:17:25 PDT 2025; root:xnu-11417.101.15~1/RELEASE_ARM64_T6020 24.4.0
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

1 Like