Table of Contents (masonjames)
Un plugin de table des matières agréable, piloté par les titres, pour EmDash CMS.
Extension
Table of Contents (masonjames)
Un plugin de table des matières agréable, piloté par les titres, pour EmDash CMS.
Un plugin de table des matières agréable, piloté par les titres, pour EmDash CMS.
Installation
Installez le paquet depuis npm :
npm install emdash-table-of-contents
Enregistrez le plugin dans votre configuration Astro :
import { defineConfig } from "astro/config";
import { emdash } from "emdash/astro";
import { tableOfContentsPlugin } from "emdash-table-of-contents";
export default defineConfig({
integrations: [
emdash({
plugins: [tableOfContentsPlugin()],
}),
],
});
Détails
- Dernière version: 0.1.3
- Licence: MIT
- Éditeur: Mason James
- Prérequis: EmDash
^0.1.0 - Dépôt source: https://github.com/masonjames/emdash-table-of-contents
- Paquet npm: emdash-table-of-contents