By default, H1s are excluded from anchor link generation. However, attempting to unset the content.markdown.anchorLinks.exclude array in nuxt.config.ts does not work.
Additional context
I've narrowed it down to Nuxt merging the default array with the config array (see below) thus far but am unsure if this behavior is an intentional configuration and so I'm filing this bug down here instead of upstream.
Environment
(stackblitz)
Reproduction
https://stackblitz.com/edit/github-sgrg2e
Describe the bug
By default, H1s are excluded from anchor link generation. However, attempting to unset the
content.markdown.anchorLinks.exclude
array innuxt.config.ts
does not work.Additional context
I've narrowed it down to Nuxt merging the default array with the config array (see below) thus far but am unsure if this behavior is an intentional configuration and so I'm filing this bug down here instead of upstream.
Logs
No response