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

Collapse/expand elements in the table of contents #413

Open
essoen opened this issue Nov 29, 2015 · 0 comments
Open

Collapse/expand elements in the table of contents #413

essoen opened this issue Nov 29, 2015 · 0 comments

Comments

@essoen
Copy link

essoen commented Nov 29, 2015

The table of contents on the left grows quite long when an article grows. Over time it's hard to find anything there. See for instance this image from the Security Engineering article:

image

tcoI thought it would be nice to collapse and expand the sections in the table of contents:

  • You have a little arrow on the left side of each element in the TOC, Press it, and it'll show the elements it has, and the arrow will point down to indicate it has been expanded. Something like this (just nicer):

Expand/collapse toc

  • Articles can be automatically collapsed when you open them, so that the user can explore the content, without being overwhelmed if there's a lot to read about.
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

1 participant