-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add in-page right sidebar #1380
Comments
Thanks for submitting an issue @rrrrrrockpang! I agree that this could be a very useful feature; #625 is a related issue (which targets a superset of this feature - also autogenerating it, etc.) that has some interest. Like I commented there, I'd be happy to review a PR that implements this, as long as it's opt-in and doesn't break backwards compatibility. |
I would welcome this. One problem with the GitHub implementation linked by @rrrrrrockpang is that it doesn't highlight as you scroll. Here are some examples:
|
FWIW, I did implement this myself a few years ago but used the external js lib tocbot. It would definitely be great to have this implemented natively. Here's an example of the tocbot integration: You can check it out here: https://makeabilitylab.github.io/physcomp/arduino/led-on.html. Note that:
|
Hello, thank you so much for the framework. I'd like to see whether I can put the in-page toc as a sidebar. For example, I can generate the toc below:
However, I would love to put this toc on the right as people can easily navigate within my page. Something like the sidebar toc here: https://docs.github.com/en/get-started/quickstart/hello-world
The text was updated successfully, but these errors were encountered: