[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re[2]: ANNOUNCE: lunamark - PEG-based markdown conversion library
- From: Bulat Ziganshin <bulat.ziganshin@...>
- Date: Sun, 13 Sep 2009 11:21:27 +0400
Hello John,
Sunday, September 13, 2009, 11:10:08 AM, you wrote:
> I want to think more about how to set things up so that custom parsers and
> callbacks can be inserted without modifying the module code. That would
> probably be a good feature.
the way i implement it is to provide function register_xxx that should
be called by user with callback and all other required parameters:
register_callback ("<head>",
function (tag)
...
end)
--
Best regards,
Bulat mailto:Bulat.Ziganshin@gmail.com