Table of Contents (masonjames)

A delightful heading-driven table of contents plugin for EmDash CMS.

Plugin

Table of Contents (masonjames)

A delightful heading-driven table of contents plugin for EmDash CMS.

  • Category: Editor Experience
  • Status: available
  • Version: 0.1.3
  • Price: Unknown
  • Source: npm package
  • Install method: Native npm integration
  • Verified: 2026-11-01
  • Compatibility: EmDash ^0.1.0
  • Maintainer: Mason James

A delightful heading-driven table of contents plugin for EmDash CMS.

Installation

Install the package from npm:

npm install emdash-table-of-contents

Register the plugin in your Astro config:

import { defineConfig } from "astro/config";
import { emdash } from "emdash/astro";
import { tableOfContentsPlugin } from "emdash-table-of-contents";

export default defineConfig({
  integrations: [
    emdash({
      plugins: [tableOfContentsPlugin()],
    }),
  ],
});

Details