Wiki2HTML Conversion Process?

3 views
Skip to first unread message

leeand00

unread,
Jul 30, 2008, 2:38:13 PM7/30/08
to TiddlyWiki
So how is it that the text inside the tiddler gets converted from
Tiddlywiki markup to HTML?

(and back again?)

I'm rather certain that it has something to do with config.formatters,
and the wikifi method, but I don't really seem to be able to ascertain
how it works exactly. I've also noticed that some of the code appears
to be using a lookahead regular expression, which isn't formally
supported by JavaScript....

Could someone please give me an overview of how this works?

Thank you,
Andrew J. Leer

FND

unread,
Jul 31, 2008, 3:37:52 AM7/31/08
to Tiddl...@googlegroups.com
> So how is it that the text inside the tiddler gets converted from
> Tiddlywiki markup to HTML?

The wikifier takes care of that:
http://trac.tiddlywiki.org/browser/Trunk/core/js/Wikifier.js
http://www.tiddlywiki.org/wiki/Dev:Wikifier
It's a fairly complex process, obviously, and should better be discussed
on the developers' group:
http://groups.google.com/group/TiddlyWikiDev/

> (and back again?)

The TiddlyWiki core doesn't need HTML-to-wikitext functionality.
I don't think there's an adaptor for this either.


-- F.

Reply all
Reply to author
Forward
0 new messages