Fix usage of level
in the options object for markdown-it-anchor
This commit is contained in:
parent
e058ac3028
commit
09ab6cfdbe
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user