lua-users home
lua-l archive

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


On 22/10/2009, at 10:42 AM, Petite Abeille wrote:

On Oct 21, 2009, at 11:33 PM, Geoff Leyland wrote:

fiddled with markdown.lua (Nicolas Frykholm's one, not the LPEG one discussed here recently)

Talking of which, David Loren Parsons' discount library is "de rigueur" for efficient Markdown processing:

http://www.pell.portland.or.us/~orc/Code/markdown/

Alex Bradbury has a Lua binding for it:

http://asbradbury.org/projects/lua-discount/

Alex's binding is for an older version of discount (1.2.10), but it's rather straightforward to update to the latest, greatest (1.5.5).

That looks like it would let me do what I wanted - set things in the header (in this case titles, and add all the script guff SyntaxHighlighter needs), but I've never seen that stuff documented. Maybe I should google harder...

Cheers,
Geoff