Remove heading level 1 from markdown-it-anchor options
This commit is contained in:
parent
e6b77208d4
commit
c0f8b07d92
|
@ -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…
Reference in New Issue