gpr / redmine_asciidoc_formatter

Redmine Wiki Formater using Asciidoc
GNU General Public License v2.0
12 stars 6 forks source link

Alternate text for wiki: links #1

Open lgarrido opened 13 years ago

lgarrido commented 13 years ago

Hi! I have installed your plugin and I find it very comfy, I use asciidoc for my project documentation and having to use a different syntax on the wiki was a PITA. Cheers, mate!

:toc: doesn't work for me, either. I have checked my server logs but nothing pops up, let me know if there is some test I can conduct to help you squash the bug.

First thing I have noticed is that alternate text for wiki: links is not working.

wiki:MyWikiPage[My Fancy Wiki Page]

It is no biggie, but it would be nice to have at some point. Dunno, something like

html.gsub(/wiki:(\w+(\/\w+)*)(\[(.*)\])?/, '[[\1|\4]]')

or something, my regex-fu is admittedly a bit shaky.

gpr commented 13 years ago

Thanks for your feedback and sorry for my late answer, for an unknown reason I never got the notification...

This week I have no time for investigating but I will be back next week and have a look on your points!