zioth / dokuwiki-autolink4

Dokuwiki plugin which automatically turns specified keywords into links to other wiki pages, similar to the default functionality of MediaWiki.
MIT License
0 stars 2 forks source link

Character to ignore autolink #19

Open Elanndelh opened 9 months ago

Elanndelh commented 9 months ago

Hello ! Your plugin is amazing and I use it in several wiki.

But I also use other plugins that sometimes conflict. Case in point: with Mikio's plugin I create buttons and the text of this button corresponds to one of my autolink references. As a result, autolink outputs the button reference and places the link next to it.

JIfhq7QOaM

So I'm wondering if it wouldn't be possible to have a special character or tag that would allow autolink to be ignored from time to time? Something like <ignoreautolink>page to link</ignoreautolink>.

ahOoE7aYnp

I hope this is clear, that it's of use to others and that I haven't missed out on a feature. Thanks!

zioth commented 9 months ago

Thanks! Glad you like the plugin!

I bet there's a configuration change I can make that would fix this, but it might be a week or two before I can dig into it. Feel free to bug me if I forget!

zioth commented 9 months ago

I see the problem. mikio includes "substitution" in "getAllowedTypes." This means it's specifically designed to allow other syntax plugins to format parts of the button, so there's no way to fix this other than with an "ignore autolink" flag like you suggest.

Elanndelh commented 8 months ago

Okay, I understand. Thank you for taking the time to look.