Mermaid: Internal links in diagrams lead to blank ("break Obsidian")

Steps to reproduce

  1. Create Mermaid diagram
  2. Embed an internal link to a graph
  3. Click the link in preview

Bildschirmfoto 2020-07-13 um 12.42.36

Expected result

Internal link: Option to open in new Tab or jump to the page

Actual result

  1. blank page shows up
  2. Obsidian needs to be restarted to get back to the note

Environment

  • Operating system: MacOS 10.15
  • Obsidian version: 0.7.6. no custom CSS

Additional information

With internal links it would be possible to create a diagram with relationships between the notes as a concept map.

2 Likes

Not a bug, what’s inside the Mermaid block will only be parsed by Mermaid. Just like if you have [[link]] in LaTeX that won’t work too.

Here’s a workaround that you can take a look: Obsidian Links in Mermaid

Please file a feature request if you feel like it’s important.

2 Likes