This project is read-only.

Off-line Wikilink

Feb 3, 2011 at 2:05 PM

I'm developing a program that works as an off-line wiki, so I was wondering if it is possible to modify the internal wiki-links so that when you click the link it executes the necessary functions to load the wiki-entry. I'm asking this because I don't if it is possible to do with Wikiplex, if not can anyone advise me on what I should use? Thank you

Feb 3, 2011 at 4:48 PM

Not out of the box, but WikiPlex is extensible enough to build your own renderer for the links to generate the correct URLs. See this documentation on how to proceed.

Feb 3, 2011 at 4:57 PM

I've read the documentation but I can't figure out how I can add an EventHandler on the link

Feb 3, 2011 at 5:01 PM

Theres no concept of event handlers, it simply renders HTML. By providing your own rendering, you could have it execute a Javascript function.