Picture of a printed book's table of contents.
TOC Field on the Node type's Manage Field page
Source field selection on the Node type's Manage Display page
TOC Type options on the node edit form

This project is not covered by Drupal’s security advisory policy.

This module provides a 'Table of Contents' field type that lets you display an automatically generated Table of Contents (TOC) derived from a long, formatted text field.

The most common use case is to add this field to a node type and configure it to use the _body_ field as source field.

You can add this field to any fieldable content entity type (such as nodes), and select any long, formatted text field as the source field from which to derive the TOC.

The actual creation of the TOCs and management and theming of the TOC Types is handled by the toc_api module.

Supporting organizations: 
sponsors development time

Project information

Releases