Use uncenter's eleventy-plugin-toc fork as the table of contents plugin

This commit is contained in:
Helen Chong 2024-05-26 11:27:12 +08:00
parent 15e847382f
commit 509f422810
3 changed files with 2 additions and 2 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -1,7 +1,7 @@
/* CONFIGURATION FOR MARKDOWN TEMPLATES */ /* CONFIGURATION FOR MARKDOWN TEMPLATES */
// Installed Plugins // Installed Plugins
const pluginTOC = require('eleventy-plugin-nesting-toc'); const pluginTOC = require('@uncenter/eleventy-plugin-toc');
const embedEverything = require("eleventy-plugin-embed-everything"); const embedEverything = require("eleventy-plugin-embed-everything");
// Configure slug filter // Configure slug filter

View File

@ -12,10 +12,10 @@
"@11ty/eleventy-navigation": "^0.3.5", "@11ty/eleventy-navigation": "^0.3.5",
"@11ty/eleventy-plugin-rss": "^1.2.0", "@11ty/eleventy-plugin-rss": "^1.2.0",
"@11tyrocks/eleventy-plugin-emoji-readtime": "^1.0.1", "@11tyrocks/eleventy-plugin-emoji-readtime": "^1.0.1",
"@uncenter/eleventy-plugin-toc": "^1.0.3",
"@zachleat/details-utils": "^2.0.2", "@zachleat/details-utils": "^2.0.2",
"eleventy-plugin-embed-everything": "^1.18.2", "eleventy-plugin-embed-everything": "^1.18.2",
"eleventy-plugin-metagen": "^1.8.3", "eleventy-plugin-metagen": "^1.8.3",
"eleventy-plugin-nesting-toc": "^1.3.0",
"install": "^0.13.0", "install": "^0.13.0",
"markdown-it-anchor": "^9.0.1", "markdown-it-anchor": "^9.0.1",
"markdown-it-attribution": "^0.1.4", "markdown-it-attribution": "^0.1.4",