diff --git a/src/node/markdown/markdown.ts b/src/node/markdown/markdown.ts index 54b8edc1..53a4e85d 100644 --- a/src/node/markdown/markdown.ts +++ b/src/node/markdown/markdown.ts @@ -99,7 +99,11 @@ export const createMarkdownRenderer = async ( // mdit-vue plugins md.use(anchorPlugin, { slugify, - permalink: anchorPlugin.permalink.ariaHidden({}), + permalink: anchorPlugin.permalink.linkAfterHeader({ + style: 'aria-label', + assistiveText: (title) => `Permalink to "${title}"`, + wrapper: ['