On Aug 3, 2006, at 21:53, Michel Fortin wrote:
Yes, PHP Markdown, the object oriented version I announced a little while ago, is better suited for extension than John's Perl Markdown. But there is no "intelligent" way to add a function in the middle of the processing chain other than by replacing the caller function, which makes any extension rather inelegant (but still better than before). Improving PHP Markdown's extension capabilities is on my todo list.
I have a similar project that's currently a bit stranded, that is a *generic* markup engine for formats such as Markdown (atox.sf.net). The currently unreleased version works by a chain of filters, passing PYX events (start/end tag, text, processing element, etc.) along a pipeline, and you can insert whatever filters you wish.
If you're interested in having a look or in discussing some particulars, just give me a holler :)
-- Magnus Lie Hetland http://hetland.org _______________________________________________ Markdown-Discuss mailing list [email protected] http://six.pairlist.net/mailman/listinfo/markdown-discuss
