Valid mermaid diagram fails to render with parsing error

Steps to reproduce

Create an a document with mermaid diagram:

sequenceDiagram
    participant TOPIC as theme

    create actor U as user
    TOPIC-->U: subscribe

Did you follow the troubleshooting guide?

Yes, it is reproducible in sandbox vault

Expected result

Rendered diagram similar to how it is rendered on memaid.live website

Actual result

Following error

Error parsing Mermaid diagram!

Parse error on line 4:
...te actor NL0 as user    TOPIC-->NL0: su
-----------------------^
Expecting 'SOLID_OPEN_ARROW', 'DOTTED_OPEN_ARROW', 'SOLID_ARROW', 'DOTTED_ARROW', 'SOLID_CROSS', 'DOTTED_CROSS', 'SOLID_POINT', 'DOTTED_POINT', got 'NEWLINE'

Environment

SYSTEM INFO:
Obsidian version: v1.4.13
Installer version: v1.4.13
Operating system: #32~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 18 10:40:13 UTC 2 6.2.0-32-generic
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

we don’t support this yet.

This error still exists. Where fix it?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.