Merge pull request #106 from siimpragi/patch-1
Fix usage of `level` in the options object for `markdown-it-anchor`
This commit is contained in:
commit
c326bc2519
@ -69,9 +69,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