Commit fed42a75 authored by Chris Burgess's avatar Chris Burgess Committed by Vladimir Roudakov
Browse files

Issue #2789093: TOC Type Reference

parent b2451811
Loading
Loading
Loading
Loading
+17 −3
Original line number Diff line number Diff line
@@ -33,8 +33,8 @@ Requirements
------------

The TOC filter 8.x-2.x requires the [TOC API](https://www.drupal.org/project/toc_api) 
module which provides a framework for  creating table of contents (TOC) from an
HTML document's header tags.
module which provides a framework for creating table of contents (TOC) from an HTML
document's header tags.

 
Features
@@ -73,6 +73,20 @@ Make sure your text formats are configured to support selected header tags.



Configuration
-------------

The following configuration options are available:

- Type - eg simple, full_numbered, [options as offered by ToC API module](https://git.drupalcode.org/project/toc_api/-/tree/8.x-1.x/config/install)
- Block - true or false, whether to render inline or as a block

Per-filter configuration is available when editing 'Filter settings' under `admin/config/content/formats`.

Per-page configuration can be provided by passing parameters to your TOC token: `[toc type="simple" block="true"]`



Similar Modules
---------------