zioth / dokuwiki-autotooltip

DokuWiki plugin to add styled tooltip functionality, and to automatically generate link tooltips based on page abstracts.
MIT License
5 stars 4 forks source link

How to use tooltip and external hyperlink? #22

Open TheYellowArchitect opened 4 days ago

TheYellowArchitect commented 4 days ago

I couldn't find this in the closed issues, nor in the homepage of this plugin (ty btw, tooltips should be bundled for every wiki, they are so good for not bloating wikis)

I tried

<autott href="https://www.wikipedia.com">
  <content>This is the linked text on the page.</content>
  <tip>The body of the tooltip.</tip>
  <title>An optional title for the tooltip</title>
</autott>

and even

<autott>
  <tip>The body of the tooltip.</tip>
  <title>[[https://www.wikipedia.com|An optional title for the tooltip]]</title>
</autott>
zioth commented 4 days ago

AutoTooltip is designed for internal links, but I like your feature request, and it should be pretty easy to implement. If I don't get to it in the next couple weeks, feel free to bug me.

TheYellowArchitect commented 4 days ago

I am very happy to hear this, thank you :yellow_heart: