Clickable nodes in HTML output
wkc1986 opened this issue · 2 comments
wkc1986 commented
Using the example from the documentation:
~~~ {.mermaid}
graph LR;
A-->B;
click B "http://www.github.com" "This is a link"
~~~
and the compilation command:
pandoc -s -o test-mermaidFilter-node-links.html -F mermaid-filter test-mermaidFilter-node-links.md
it creates the expected graph, but the nodes can't be clicked. Clicking works for PDF output. Is this implemented for HTML?
raghur commented
I doubt it... looks like you're using default PNG output? Clickable image would require an image map... right now, the save just uses puppeteer to save the on screen contents as an image. Try with svg output since it allows for links.
wkc1986 commented
Yeah, not clickable with format=svg either.