[kramdown-users] TOC

Shawn Van Ittersum svicalifornia at gmail.com
Wed May 5 06:36:08 EDT 2010


OK, got it now. :)  Can I do this to create an ordered TOC:

1. Table of Contents
{:toc}

and have that become:

1. Section
   a. Subsection
   b. Subsection
2. Section
3. Section
  ...

Shawn

On Wed, 5 May 2010 11:58:08 +0200, Thomas Leitner wrote:
> On Wed, 5 May 2010 17:49:00 +1000
> Shawn Van Ittersum <svicalifornia at gmail.com> wrote:
> 
>> So it will be necessary to supply an empty list to be replaced?
>> 
>> *
>> {:toc}
>> 
>> Or will {:toc} stand on its own?
> 
> It is implemented in the same way as it is in Maruku (for
> compatibility), ie. the IAL with the reference has to be applied to a
> list.
> 
> -- Thomas
> _______________________________________________
> kramdown-users mailing list
> kramdown-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/kramdown-users


More information about the kramdown-users mailing list