[Moin-user] TableOfContents macro scoping?
Schwols, Keith C
keith.c.schwols at intel.com
Tue Oct 31 09:56:56 EST 2006
I posted a 'not quite to format' patch at
that added the ability to specify starting depth as well as ending
depth. (E.g. [[TableOfContents(mindepth=2,maxdepth=99)]] would skip the
I've been running the macro for a few months on my wikis, but the
feature was rejected by the Moin developers because of the arg parser
that I'm using (not being the 'standard'). I've not had time to massage
this patch into the correct format for inclusion into moin, but the
patch I put on the page was applied against the 1.5.4 codebase.
"Divide and rule, a sound motto. Unite and lead, a better one." - Goethe
>From: moin-user-bounces at lists.sourceforge.net [mailto:moin-user-
>bounces at lists.sourceforge.net] On Behalf Of Sean Dague
>Sent: Tuesday, October 31, 2006 7:02 AM
>To: moin-user at lists.sourceforge.net
>Subject: [Moin-user] TableOfContents macro scoping?
>Is it possible to get the TableOfContents macro to scope to only H2
>or below? For instance, I'd really like this page
>(http://dague.org/ExifTagger) to just skip counting the H1 as part of
>table of contents.
>Thanks in advance,
>Sean Dague Mid-Hudson Valley
>sean at dague dot net Linux Users Group
>There is no silver bullet. Plus, werewolves make better neighbors
>than zombies, and they tend to keep the vampire population down.
More information about the Moin-user