This commit is contained in:
Andras Schmelczer 2026-05-11 21:30:57 +01:00
parent f3fc893675
commit bb5b4c4cf3
43 changed files with 585 additions and 524 deletions

View file

@ -83,10 +83,11 @@ export default defineConfig({
behavior: 'append',
properties: {
className: ['heading-anchor'],
'aria-hidden': 'true',
tabIndex: -1,
ariaLabel: 'Permalink',
},
content: { type: 'text', value: '#' },
// Glyph rendered via CSS ::before so it doesn't leak into the TOC
// when astro:content extracts heading.text from the rendered HTML.
content: [],
},
],
],