[kramdown-users] Table of Contents

Matt Neuburg matt at tidbits.com
Fri Mar 12 15:20:59 EST 2010


>>> Does kramdown yet support the automatic generation of a table of
>>> contents, creating reference links to headings in the document?  I
>>> tried putting {::toc::} at the top of my kramdown doc, and it didn't
>>> yield any extra HTML. :/
>> 
>> No, it does not support TOC generation. However, it should be no
>> problem to add this. Will add this to my TODO list.

It should probably be pointed out, though, that this kind of thing is
trivial (and much more flexible) to do yourself by appending XSLT to the
HTML-generation process. m.

-- 
matt neuburg, phd = matt at tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, 2nd edition
http://www.tidbits.com/matt/default.html#applescriptthings
Take Control of Exploring & Customizing Snow Leopard
http://tinyurl.com/kufyy8
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com





More information about the kramdown-users mailing list