Download the PHP package cms-alchemy/toc-inline without Composer
On this page you can find all versions of the php package cms-alchemy/toc-inline. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cms-alchemy/toc-inline
More information about cms-alchemy/toc-inline
Files in cms-alchemy/toc-inline
Download cms-alchemy/toc-inline
More information about cms-alchemy/toc-inline
Files in cms-alchemy/toc-inline
Vendor cms-alchemy
Package toc-inline
Short Description Adds a [toc] token that generates a table of contents from headings in Drupal content.
License GPL-2.0-or-later
Package toc-inline
Short Description Adds a [toc] token that generates a table of contents from headings in Drupal content.
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package toc-inline
ToC Inline
Adds a [toc] token that generates a table of contents from headings (<h1>–<h6>) in the content.
Overview
ToC Inline is a lightweight Drupal filter plugin that scans rendered HTML for headings and replaces a [toc] token with a structured table of contents and is enabled automatically by the install script for Basic Html and Full HTML.
It is designed for editorial convenience—drop a token, get a working ToC with anchor links. No blocks, no Views, no extra configuration overhead.
Installation
Features
- Uses
[toc]token anywhere in content - Automatically scans
<h1>–<h6>tags - Generates unique IDs for headings when missing
- Deduplicates existing IDs safely
- Builds nested lists based on heading levels
- Outputs accessible markup (
<nav aria-label="Table of contents">) - No JavaScript required (server-side rendering)
All versions of toc-inline with dependencies
PHP Build Version
Package Version
Requires
drupal/core Version
^10 || ^11
The package cms-alchemy/toc-inline contains the following files
Loading the files please wait ...