Parse heading links from custom content components
Is your feature request related to a problem? Please describe
We try to sort of automate the docs by fetching files from the public folder. To do this I've created a SnippetDocs component that fetches a .liquid file and automatically extract example, params and description from it's content. For these 3 items I want to add headings to my markdown as well. This is all working perfectly, but the headings are not added to the page.body.toc.links array from the queryCollection composable.
Describe the solution you'd like
Generate links from headings in custom content components that are rendered with e.g. <MDC /> or <MDCRenderer />
Describe alternatives you've considered
Additional context
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.
Any update?
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.
Any thoughts?