From c0f8b07d92db134ebfd00327987e291b10e44fc3 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> 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,