Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
JS Table of contents generator http://toc
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
Having a go at a table-of-contents script after reading http://www.wait-till-i.com/2010/01/06/the-table-of-contents-script-my-old-nemesis/ I was curious to see how it could be done by DOM traversal, rather than fetching everything up-front.