mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-05 11:42:40 +00:00
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…
x
Reference in New Issue
Block a user