Remove heading level 1 from markdown-it-anchor options

This commit is contained in:
Helen Chong 2024-06-04 18:46:40 +08:00
parent e6b77208d4
commit c0f8b07d92
1 changed files with 1 additions and 1 deletions

View File

@ -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,