schplurtz / a2s

DokuWiki asciitosvg plugin
GNU General Public License v2.0
3 stars 1 forks source link

clickable URLs in diagrams #2

Closed janekska closed 6 years ago

janekska commented 6 years ago

Hi!

Nice plugin! Thank you for your work.

Are there any ability to put clickable links into a diagram? F.ex.:

#----------------.
|[grbx]          |        .------.
| a kinda of box +=======>|outbox|
|                |        '------'
'----------------#

[grbx]: {"fill":"#009900","a2s:delref":true,"url":"http://www.mysite.net"} 
schplurtz commented 6 years ago

Hi,

Thank you for your interest in this project and for your suggestion.

Unfortunately, there is currently no such feature. The code that handles the drawing is entirely from dhobsd/asciitosvg, and I don't understand the most part of it. I just made the code available to DokuWiki. As I can see that you've already asked dhobsd, I'll close this feature request now.

I'll be happy to import any upstream evolution when there are some.

janekska commented 6 years ago

I did second attempt after a while and now right. :)

I got it working and create pull request for dhobsd/asciitosvg/pull/6

schplurtz commented 6 years ago

Great ! I'll import the updated asciitosvg code when your PR is accepted.

By the way, this W3C wiki page suggests you should use xlink:href="...".

Schplurtz

schplurtz commented 6 years ago

Links are available now. external links and also wiki links