Features/Components

Table of Contents

Auto-generated table of contents with anchor links and scroll-spy for long articles.

Table of Contents is a free plugin from the Divhunt plugin marketplace. Auto-generated table of contents with anchor links and scroll-spy for long articles. Install it from Browse Plugins, then apply it to an element with its transform and adjust the options in the builder.

How it works

  • Marketplace plugin (free, published).
  • Used as a transform: dh-transform="table-of-contents" with options in dh-transform-options, configured in the builder's transform settings.
  • Options (transforms.table-of-contents): style custom, simple, numeric or arrows; rcolor, acolor; offset px for fixed headers; Smart Submenu; disable H3 / H4. Scans a chosen content element for h2-h4, adds ids and marks the current section with dh-active.
  • Not installed by default on a blank site; installed from Browse Plugins, by the Required Plugins prompt, or with a Studio template that uses it.

When to use it

  • Blog post sidebar navigation
  • Documentation pages

Limitations

  • Must be installed on the site first; it is not part of a blank site.

Availability

  • Works in Designer and MCP.
  • Included in every plan.

How to use it.

  1. Open Plugins > Browse Plugins and install it.
  2. Select an element and add the transform, then set its options.

Questions.

Is it free?

Related features.

No card needed

Build it today.Pay when it goes live.

Every feature is unmetered while you build. Checkout opens the first time you publish.