From 09ab6cfdbe1c094df32216e4f87f6433c0a7a2f4 Mon Sep 17 00:00:00 2001 From: Siim Pragi Date: Mon, 6 Sep 2021 15:14:40 +0300 Subject: [PATCH] Fix usage of `level` in the options object for `markdown-it-anchor` --- .eleventy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 16841f2..28ffd3a 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -73,9 +73,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);