Since we changed hrefs for table-of-contents links, no scrollspy packages work. Planning to write a new fast-scrollspy to work around this, while also speeding things up (logarithmic time for scroll, though linear when TOC updates) and highlighting entire range of what's on screen (different color from parents) instead of just one item.
Actually, we don't need scrollspy anymore; IntersectionObserver is enough, making this really easy!
Since we changed
href
s for table-of-contents links, no scrollspy packages work. Planning towrite a new fast-scrollspy to work around this, while also speeding things up (logarithmic time for scroll, though linear when TOC updates) andhighlighting entire range of what's on screen (different color from parents) instead of just one item.Actually, we don't need scrollspy anymore; IntersectionObserver is enough, making this really easy!
Related: #552