From 54c951d2bd394231fb1f6e3fa3282fcc855f2d6b Mon Sep 17 00:00:00 2001 From: Leilukin Date: Tue, 4 Jun 2024 18:46:40 +0800 Subject: [PATCH] Remove heading level 1 from markdown-it-anchor options --- eleventy.config.md.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eleventy.config.md.js b/eleventy.config.md.js index 46243c87..ed286bde 100644 --- a/eleventy.config.md.js +++ b/eleventy.config.md.js @@ -36,7 +36,7 @@ module.exports = function (eleventyConfig) { style: "aria-labelledby", }); const markdownItAnchorOptions = { - level: [1, 2, 3, 4, 5], + level: [2, 3, 4, 5], slugify: (str) => slugify(str, { lower: true,