How did you make your Mermaid Flowchart nodes link to pages in Obsidian on click? #10
-
Thanks for sharing @tallguyjenks! A follow-up question: how did you make your nodes link to pages in Obsidian on click? Originally posted by @asdfgeoff in #3 (comment) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This feature takes advantage of the Obsidian URI links and the The functionality is achieved by using the above example for my
URI Link breaks down to:
The URI links Now if you name a node in mermaid (using my ideas page as an example) with an ID you can just use that ID in the click event instead of the full name of the node:
|
Beta Was this translation helpful? Give feedback.
-
With release 0.9.21 There is a fix to mermaid.js so you can use
A[Index]
click A INDEX;
|
Beta Was this translation helpful? Give feedback.
With release 0.9.21 There is a fix to mermaid.js so you can use
class A internal-link;
to makeA
an internal link not URI so that i can say