nuxt / content

The file-based CMS for your Nuxt application, powered by Markdown and Vue components.
https://content.nuxt.com
MIT License
3.08k stars 624 forks source link

TOC of useContent do not works #2598

Closed nethriis closed 3 months ago

nethriis commented 6 months ago

Environment


Reproduction

https://stackblitz.com/edit/nuxt-starter-xddqnz

Describe the bug

The toc is not generated

Additional context

No response

Logs

No response

stvnw commented 4 months ago

In your example you only have an h1 heading, but the TOC will not include h1 headings by design. When h2s are added to your example, they appear in the TOC.