phpsa/content-toc

A Statamic 3 addon to generate TOC for content

1.0.0 2020-11-06 02:10 UTC

This package is auto-updated.

Last update: 2024-12-06 11:28:02 UTC


README

Statami v3 Packagist

This repository contains the code for these widgets. While the code is open-source, it's important to remember that you'll need to purchase a license before using this addon in production. Licenses cost $5 and can be purchased from the Statamic Marketplace.

Installation

Install via the Control Panel or via composer

composer require phpsa/content-toc

Quick Usage

in your template:

{{content | toc:ids}} to render your content with the TOC adding ids to the content

{{content | toc}} to render your page contents

Documentation

View Documentation.

Security

If you discover any security related issues, please email vxdhost@gmail.com instead of using the issue tracker.