Replies: 2 comments 2 replies
-
That would require a little JavaScript, by the first looks of it. Tocbot seems like a good candidate for this. I will be considering making this an option in Doks. |
Beta Was this translation helpful? Give feedback.
-
I'd like this feature as well, but it works best if you have headers with lots of content beneath. Otherwise, figuring out which TOC item is the "current" one can get difficult toward the end of the page. As you can see on the Tocbot example site, they solve the problem by having a ton of extra space at the bottom of the page. Feels kind of hacky. Another thing to be careful of is to make sure that the scroll position takes account of any header/menu bar on the page (Tocbot seems to do this). |
Beta Was this translation helpful? Give feedback.
-
Hello!
Very non-technical user here: in Docs, how could the current "On the page" section be highlighted, like the current page is in the left sidebar?
It would be quite useful in large pages.
(Btw, thank you @h-enk for Doks, it's amazing!)
Beta Was this translation helpful? Give feedback.
All reactions