Hi,
I've been coding a wiki parser in JavaScript with the hope it could be of some use for the project (especially in giving some relief to the servers).
You can view a demo here: http://gusanos.sourceforge.net/wp/wikitest.htm
So far it supports the following features:
*Headings (all levels) *Normal paragraphs *Internal and external links (with hidden namespaces and parentheses even) *Normal inline formatting (italics and bold) *Lists and definition lists (can be nested) *Tables with full nesting (can even nest other tables) *Horizontal bars
What still needs to be done:
*<nowiki> tags *Undesired HTML stripping *Images *Interproject links *Interwiki links *Categories *Signatures *TOC *Hierogliphs *Templates *?
I think this could be useful for quick previews, avoiding extra server hits.
Some notes:
I've tested it in the following browsers (all of in which more or less works): Firefox, Opera 7, Konqueror 3.3, Internet Explorer 6.
IE5 just yields an error and does nothing, but I don't feel like wasting time making it work in it.
What do you think?
-Pedro Fayolle (aka Pilaf)