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({
|
||||
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