lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Aug 29, 2011 at 2:45 PM, Peter Odding <peter@peterodding.com> wrote:
> Did you try the discount module by Alex Bradbury? It's available in LuaRocks
> (luarocks install lua-discount).

 I see what you mean - practically instant conversion!

But the problem would be that I have a customized markdown.lua which
does the table-of-contents thing.

Well, preprocessing would be an option, and should be pretty fast
(scan for ##.. <num> etc).

steve d.