avdgaag/rpub — pull request #7 by elia (2012-05-26 09:26:19+00:00)
Title: Toc from headings

Hi Arjan,
I looked into the pull-req and found that kramdown provides a toc already, so I refactored using it.

It's not the best implementation, but I've updated the specs so it should be fine as a start. :)