michelf/php-markdown — pull request #26 by mytharcher (2012-04-20 17:16:36+00:00)
Title: Merged TOC feature from jtopjian's fork

I think auto-generation of table of content(TOC) is very useful. And I searched and found jtopjian's fork had done that yet. so I merge his branch to my fork.

Beside jtopjian's TOC upgrade, I also did an improvement, which one could use TOC by headers' ID not specified(the not specified ID would be replaced by the header text).