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:
Zach Leatherman 2022-06-29 09:32:31 -05:00 committed by GitHub
commit c326bc2519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,9 +69,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);