I’m working with the MermaidJS plugin, which allows to draw complex graphs with clickable nodes among other things. I would like to create html links to various tiddlers from the nodes by specifying the tiddler like this: #sometiddler. That works but the address bar changes. Is there some magic to prevent that?
As a matter of fact, how is does it work in TW that tiddler links don’t normally change the address bar?
When I click on internal links in TW, the address bar doesn’t change. I was wondering if there was a way to emulate that behavior using straight html basically.
The thing about HTML links is they need to work if clicked in a wiki and if the link were outside a wiki, thus if you name a specific tiddler it navigates to it and the browser updates the address bar. When you use the [[tiddlywiki link]] method it can intervein and navigate within the wiki, thus need not give the browser the full url.
The best solution I can see is to get the mermaid plugin to allow you to provide the tiddler title to render correctly so the link just works as you expect.
Alternatively perhaps a special macro or button to extract the title and navigate to the tiddler rather than construct or save the html link.