On Sun, 4 Feb 2001, Arno Hollosi wrote:
> I had an afternoon at my hands, so I redid transform.php.
>
> Transform functions are now modularized and registered to a central
> WikiTransform object.
>
> I think the current design is straight forward, easy to comprehend, and
> thus easy to extend.
>
> Things to be done:
> - re-add html mode "|"
> - provide functionality for multi-line markup (i.e. markup spanning several
> lines)
> - redo %%ADMIN-%% tokens -- see my previous email "system page" (Jan 25)
>
> I'd like to hear some feedback -- is the current form ok?
I spent some time reading this, and all I can say is wow! Great work! It
was immediately understandable, incredibly clearly written, and very
clean.
> Note that recursive calls (nesting markup) are not possible. It would
> unnecessarily complicate the issue. Instead, I suggest that if you'd like
> to do markup-transformation inside another markup you just register another
> WikiTransform object and call that one with your markup data.
Hmm. I don't quite understand. Can you give an example of nesting markup?
The TestPage looks fine, so we must not have an example there?
~swain
...............................ooo0000ooo.................................
Hear FM quality freeform radio through the Internet: http://wcsb.org/
home page: www.wcsb.org/~swain
|