Authored a plugin currently featured on the MODx Content Management System (CMS) and PHP Application Framework website (
http://www.modxcms.com/Page-TOC-Generator-1274.html). This plugin automatically generates a page-specific Table of Contents based on the page’s heading structure in PHP. Configurable and stylable. It creates a list (<ul> or <ol>) of links to the headings within that page. It automatically generates the anchors, so you just have to create the headings. It's easy to put a "Table of Contents" feature on any page on a website.