Closed AndresSepar closed 1 year ago
FWIW you can use the renderAttrs
option of your permalink renderer to add custom attributes to the link element!
md.use(anchor, {
permalink: anchor.permalink.headerLink({
renderAttrs: (slug) => ({ target: '_self' })
})
})
It is necessary to set where to display the linked URL, such as the name of a navigation context (a tab, window or