apostrophe-toc is a widget for the Apostrophe content management system. Apostrophe TOC lets you display a table of contents generated from the markup of of any text in a given area.
Configuring the Module
In order to run the Apostrophe TOC widget in your Apostrophe project, you'll need to add it in app.js along with the other modules. There are currently no options for this widget.
Including the Widget in your Templates
Now that we've got the widget configured, we can simply add it to our template and use the bundled template in the module. In your page template, simply add "apostrophe-toc" to the controls array in your
- Build it
- Publish to NPM
- Build some nice basic styles