tratteo · GitHub

Updated ContentToc component to scroll spy only the headers (links) passed in the props.
Fixes issue nuxt#5967

@tratteo

coderabbitai[bot]

@tratteo

@vercel

benjamincanac

@benjamincanac benjamincanac changed the title fix: ContentToc highligh feature #5967 fix(ContentToc): correct highlight feature for custom depth headers

Apr 2, 2026

@tratteo

@vercel

@benjamincanac benjamincanac changed the title fix(ContentToc): correct highlight feature for custom depth headers fix(ContentToc): use actual links for scrollspy instead of hardcoded h2/h3

Apr 17, 2026

@benjamincanac benjamincanac changed the title fix(ContentToc): use actual links for scrollspy instead of hardcoded h2/h3 fix(ContentToc): use links for scrollspy instead of hardcoded h2/h3

Apr 17, 2026

benjamincanac

@benjamincanac

Read the original on github.com ↗