Dual Content supportOne module for @nuxt/content v2 (queryContent) and v3 (queryCollection). Detects the major at setup time.
Pass-in or auto-fetchPrefer :toc="page.body?.toc" from your page query, or let the component fetch via a version-specific plugin.
Active highlightingIntersectionObserver tracks h2/h3 headings and applies stable CSS classes you can theme.
Accessible markupARIA roles and levels for list structure and headings, with a clear CSS class/id contract.