Updates deps, including new major version of markdown-it-anchor.

This commit is contained in:
Zach Leatherman 2021-07-28 09:05:01 -05:00
parent 8bffa6fce7
commit 1be6346bde
2 changed files with 12 additions and 8 deletions

View File

@ -70,9 +70,13 @@ module.exports = function(eleventyConfig) {
breaks: true,
linkify: true
}).use(markdownItAnchor, {
permalink: true,
permalinkClass: "direct-link",
permalinkSymbol: "#"
permalink: markdownItAnchor.permalink.ariaHidden({
placement: "after",
class: "direct-link",
symbol: "#",
level: [1,2,3,4],
}),
slugify: eleventyConfig.getFilter("slug")
});
eleventyConfig.setLibrary("md", markdownLibrary);

View File

@ -25,11 +25,11 @@
"homepage": "https://github.com/11ty/eleventy-base-blog#readme",
"devDependencies": {
"@11ty/eleventy": "^0.12.1",
"@11ty/eleventy-navigation": "^0.1.6",
"@11ty/eleventy-navigation": "^0.3.2",
"@11ty/eleventy-plugin-rss": "^1.1.1",
"@11ty/eleventy-plugin-syntaxhighlight": "^3.1.0",
"luxon": "^1.26.0",
"markdown-it": "^12.0.4",
"markdown-it-anchor": "^7.1.0"
"@11ty/eleventy-plugin-syntaxhighlight": "^3.1.2",
"luxon": "^2.0.1",
"markdown-it": "^12.1.0",
"markdown-it-anchor": "^8.1.2"
}
}