When reading long articles, it’s often hard for users to keep track of which section they are currently viewing. A static table of contents (TOC) doesn't provide any visual indication of the active heading. This reduces usability, especially on documentation sites, tutorials, or lengthy blog posts.
I would like the plugin to support “scroll spy” functionality: as the user scrolls through the content, the corresponding item in the table of contents should be automatically highlighted (e.g., with a CSS class like .active or .is-current).
When reading long articles, it’s often hard for users to keep track of which section they are currently viewing. A static table of contents (TOC) doesn't provide any visual indication of the active heading. This reduces usability, especially on documentation sites, tutorials, or lengthy blog posts.
I would like the plugin to support “scroll spy” functionality: as the user scrolls through the content, the corresponding item in the table of contents should be automatically highlighted (e.g., with a CSS class like
.activeor.is-current).