Fix usage of level in the options object for markdown-it-anchor

This commit is contained in:
Siim Pragi 2021-09-06 15:14:40 +03:00
parent e058ac3028
commit 09ab6cfdbe

View File

@ -73,9 +73,9 @@ module.exports = function(eleventyConfig) {
permalink: markdownItAnchor.permalink.ariaHidden({
placement: "after",
class: "direct-link",
symbol: "#",
level: [1,2,3,4],
symbol: "#"
}),
level: [1,2,3,4],
slugify: eleventyConfig.getFilter("slug")
});
eleventyConfig.setLibrary("md", markdownLibrary);