Module
- D10: stable release
- D11: stable release
- D12: not supported
TOC Twig Filter
Twig filter rendering tables of contents via TOC API. Usage {% set body = content.body|render|toc %} {{ body.toc }} {{ body.content }} {# OR #} {% set body = content.body|render|toc('full') %} {{ body.toc }} {{ body.content }} {# OR #} {% set toc_options = { 'header_min': 2, 'header_max': 4, } %} {%
drupal.org
composer require drupal/toc_twig_filter47 out of 100
Watch
Only one person can publish fixes.
- Sites
- 10
- Latest release
- 12 months ago
- Contributors (12 months)
- 0
- Open bugs
- 0
Why 47?
How scores work →Scored for choosing for a business. Each part is out of 100.
- Adoption
- 10 sites
- 0
- Activity
- No commits or releases in 12 months
- 17
- Community
- 1 maintainer can publish fixes; 0 people contributed this year
- 20
- Health
- 0 open bugs, 0 serious; 0 finished fixes waiting
- 100