Skip to content
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

Render TOC without JavaScript #520

Open
srid opened this issue Mar 5, 2024 · 1 comment
Open

Render TOC without JavaScript #520

srid opened this issue Mar 5, 2024 · 1 comment

Comments

@srid
Copy link
Owner

srid commented Mar 5, 2024

As for highlightToc, do we really need JavaScript? I see a NoJS solution here: https://codepen.io/davorsuljic/embed/vYgqKWe? (via the comments from https://css-tricks.com/sticky-table-of-contents-with-scrolling-active-states/ )

Originally posted by @srid in #504 (comment)

@srid srid mentioned this issue Mar 5, 2024
3 tasks
@TristanCacqueray
Copy link
Contributor

I get the appeal, but this css is really advanced, not sure what's the benefit at that point. If I understand correctly, each heading needs it's own css to match the relevant doc section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants