perplex
perplex copied to clipboard
Javascript: Create active TOC entries depending on the visible part of the page
Javascript offers an IntersectionObserver and there are numerous examples out there.