Unable to unset option `content.markdown.anchorLinks.exclude`
Environment
(stackblitz)
- Operating System: Linux
- Node Version: v18.20.3
- Nuxt Version: 3.13.0
- CLI Version: 3.13.0
- Nitro Version: 2.9.7
- Package Manager: [email protected]
- Builder: -
- User Config: devtools, modules, routeRules, content
- Runtime Modules: @nuxt/[email protected]
- Build Modules: -
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 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.
Logs
No response
If you want all headings to have links, you can set anchorLinks to true
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue was closed because it has been stalled for 30 days with no activity.