Mermaid intefration showing arrow tips - it schoudn't!

Steps to reproduce

  1. Create new note.
  2. Copy the following mermaid diagram code:
flowchart LR
A --- B

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

Y

Expected result

A line between A and B without arrow tips. It’s called an “open link” by Mermaid.
I cant share the link to the Mermaid documentation.
Marmaid Documentation → “Syntax” → “Flowchart” → “An open link”

Actual result

I see a link between A and B with an arrow head pointing towards B.
The rendered diagram is identical to the following code, it shouldn’t.

flowchart LR
A --> B

Environment

SYSTEM INFO:
Obsidian version: v1.8.9
Installer version: v1.6.7
Operating system: Windows 11 Home 10.0.26100
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Expected result (screenshot from Mermaid.js documentation)

Actual result in Obsidian:

1 Like