Liquid Table of Contents TOC
rport - April 15, 2006 - 06:05
| Project: | Liquid Wiki Engine Project |
| Version: | HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
Description
The table of contents (TOC) feature of MediaWiki is an index of the body of an article (node). The basis for creating the TOC are the section markup headings.
==Section==
===Subsection===
====Sub-subsection====Note: The actual markup may vary depending in the wiki syntax plugin used.
Sections are translated into the corresponding HTML heading markup tags as follows; <H1> <H2> <H3> <H4>.
For each page with more than three headings, the Standard TOC is automatically generated from the section headings, unless:
- (for a user) preferences are set to turn it off
- (for an article) in the edit box the magic word __NOTOC__ is added
Variations to the Standard TOC may be also created through the use of templates.
Perhaps the table of contents could be rendered as a block within the Drupal framework.

#1
Basic support for TOC will be included in the infrastructure provided by liquid_filter.