History of Maketoc Filter

Version 2

Maketoc Filter

Created by: Will, Last modification: 02 Jul 2008 (03:49 UTC) by Will
When you insert the maketoc tag into a wiki page, it will create a nested table of contents based on the headings in that page.

The tag:

<?php
{maketoc}
?>

Styling:
In your css style sheet you can target the look and size of the table of contents by assigning styles to class .maketoc

Example:

Headline one

Headline two

Subheadline a under headline two

Subheadline b under headline two

Headline three


Page source for the above example:


<?php
{maketoc}
!
Headline one
!Headline two
!!Subheadline a under headline two
!!Subheadline b under headline two
!!Headline three
?>

Page History
Date/CommentUserIPVersion
02 Jul 2008 (03:50 UTC)
fix error in example
Will69.203.72.1613
Current • Source
Will69.203.72.1612
View • Compare • Difference • Source
Kozuch85.207.244.1601
View • Compare • Difference • Source