-
Notifications
You must be signed in to change notification settings - Fork 67
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
3-level nested heading hierarchy #27
Comments
Hmm. On the one hand, it would be easy to add, but on the other hand, my (limited) design experience says that having three-level navigation hierarchy is actually an information architecture antipattern. Therefore, not sure that I want to encourage it by supporting it in the plugin. I'd consider a pull request to add the functionality, but will otherwise leave this open for a bit to see if anyone else is interested. |
To explain the use case, we're using bootstrap-toc in generated/rendered html (a custom Jupyter notebook renderer) which quite often contains over a hundred of headings, thus having a third header level would be a godsend. I could try submitting a PR, but I'm not quite sure how it should be done, does Bootstrap support third-level navs or it's something that has to be cooked manually? This could be an optional/opt-in functionality so it won't affect anyone unless they choose to use this feature. |
Bootstrap isn't doing much with respect to this plugin, so shouldn't be an issue. /cc #16
Sure...how about a |
Yea |
I'd also be interested in support for higher levels. Here's one possibility (assuming $headings grabs one more level):
|
Look forward to having higher heading levels, sometimes needed -:) |
@aso2101 Thank you for sharing the code! |
I'm definitely interested in this feature. Some things like API references really need the added depth. |
The strange thing is that scrollspy does not add .active to the third layer |
Would it be possible to implement, as an option? It would be a super useful feature to have.
The text was updated successfully, but these errors were encountered: