Backlinks with |alias in mermaid

Use case or problem

graph LR 
1(Note#Part one|Part 1) --> 2(Go here)
class 1 internal-link;

Same result

graph LR 
1(Note#Part one\|Part 1) --> 2(Go here)
class 1 internal-link;

Node 1 should be named “Part 1”, but instead there is mermaid syntax error.

Proposed solution

Add ability to use this part of Obsidian backlink syntax Note#Part one|Part 1)

9 Likes