diff --git a/build/engines.js b/build/engines.js index 5ccd77c..bd316d7 100644 --- a/build/engines.js +++ b/build/engines.js @@ -44,10 +44,10 @@ const markdownEngines = { }, }) .use(mAnchor, { + slugify, permalink: mAnchor.permalink.linkInsideHeader({ class: 'header-link', symbol: '', - renderHref: (input) => '#' + slugify(decodeURIComponent(input)), ariaHidden: true, }), })