Filters: Table of Contents Generator

Maintained by Picture of Ben ChenowethBen Chenoweth
Automatically generated table of contents for a page of content.

Table of Contents Generator 2

Release notes

Table of Contents (TOC) filter
Readme for version 2.

The Table of Contents filter scans text for heading tags
(h1-h4 in this version) and automatically generates a nested
list of these tags as a table of contents. Each link in the table
is made into an html link to the actual heading, and the heading
itself is given a backlink to the table of contents.


This version contains no configuration page - it is intended that
a future version will provide the ability for the user to modify
the various text elements added that are currently hardcoded.


CSS styling may be used to modify the appearance of the table. The entire
table is contained within a div with the 'toc' class. The backlinks have
the class 'toc_link' applied to them.
Moodle 2.1, 2.2, 2.3, 2.4

Version information

Version build number
Version release name
MD5 Sum
Supported software
Moodle 2.1, Moodle 2.2, Moodle 2.3, Moodle 2.4
  • This is the latest release for Moodle 2.1
  • This is the latest release for Moodle 2.2
  • This is the latest release for Moodle 2.3
  • This is the latest release for Moodle 2.4

Version control information

Version control system (VCS)
VCS repository URL

Default installation instructions for plugins of the type Filters

  1. Make sure you have all the required versions.
  2. Download and unpack the filter plugin.
  3. Place the folder (eg "myfilter") in the "filter" subdirectory.
  4. Visit to finish the installation