HandyTableOfContents-Talk

Summary: Talk page for HandyTableOfContents.
Maintainer: Kathryn Andersen
Users: +3 (View / Edit)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.

Comments

Russell Montgomery 10/11/2011 - The zip file indicates the version is 20070217 not 20070218

Markup issue

SteP 2010-11-21: Thanks for this recipe. Version 20070218 doesn't like mixing (:htoc:) with other markup on a single line. To remove this limitation change the code as follows:

Markup("handytoc", "directives", 
  "/\\(:htoc\s*(.*?):\\)/e",  //added ? after *
  "HandyTocProcessMarkup(\$pagename, '$1')");

Sandbox

Talk page for the HandyTableOfContents recipe (users).