I’ve been using Hugo to manage my personal website primarily using the [book theme].(https://themes.gohugo.io/theme/hugo-book/)
The book theme has a great sidebar on the right that enumerates the headings in the document. What I would like to achieve is something that enumerates the structure of a collection of markdown files with an automatically scrolling sidebar. An example of something similar in the wild is here.
Are there any examples with Hugo out there or perhaps some pointers on how this could be implemented. My idea is to make an a large form document (think book) where Chapters, Headings, Sub-headings etc are enumerated, clickable and a small dynamic marker keeps track of where in the document you are.