Remove heading level 1 from markdown-it-anchor options
This commit is contained in:
parent
88c1c5c924
commit
54c951d2bd
@ -36,7 +36,7 @@ module.exports = function (eleventyConfig) {
|
|||||||
style: "aria-labelledby",
|
style: "aria-labelledby",
|
||||||
});
|
});
|
||||||
const markdownItAnchorOptions = {
|
const markdownItAnchorOptions = {
|
||||||
level: [1, 2, 3, 4, 5],
|
level: [2, 3, 4, 5],
|
||||||
slugify: (str) =>
|
slugify: (str) =>
|
||||||
slugify(str, {
|
slugify(str, {
|
||||||
lower: true,
|
lower: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user