marcozaccari / markdown-diagrams-browser-extension

A browser extension for Chrome, Edge, Opera and Firefox that renders markdown diagrams and charts code blocks into preview images.
MIT License
56 stars 27 forks source link

"Double-click to switch code/render" prevents hyperlinks to work #2

Open sgauge opened 3 years ago

sgauge commented 3 years ago

Thanks for this super-useful extension, it works great except for one thing : hyperlinks & other Mermaid interactions are disabled by the fact the extension captures double-clicks over the drawing canvas. It would be nice if we could have the option to disable this feature and render only.

Examples :

@startuml
[A]->[B]:ClickMe[[http://github.com]]
@enduml
graph LR
A[Click Me]-->B
click A "http://github.com" 
marcozaccari commented 3 years ago

Thanks for the report. I'll try to fix in the next release.