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({
|
permalink: markdownItAnchor.permalink.ariaHidden({
|
||||||
placement: "after",
|
placement: "after",
|
||||||
class: "direct-link",
|
class: "direct-link",
|
||||||
symbol: "#",
|
symbol: "#"
|
||||||
level: [1,2,3,4],
|
|
||||||
}),
|
}),
|
||||||
|
level: [1,2,3,4],
|
||||||
slugify: eleventyConfig.getFilter("slug")
|
slugify: eleventyConfig.getFilter("slug")
|
||||||
});
|
});
|
||||||
eleventyConfig.setLibrary("md", markdownLibrary);
|
eleventyConfig.setLibrary("md", markdownLibrary);
|
||||||
|
Loading…
Reference in New Issue
Block a user