Re: Collapsable/Expandable TOC

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/Collapsable-Expandable-TOC-tp789p790.html

Agreed. We'll definitely want to use a well-tested JavaScript component for this (since we don't want to be in the business of reinventing that wheel). An accordion with entries for each part may work well here (without introducing too much annoyance).

Would you be willing to file an issue?

Also, keep in mind that it's possible to implement this today with a custom document template (or maybe even a docinfo file). Obviously, having support out of the box is ideal, you still have the option of splicing it in without having to wait for a release.

-Dan


On Thu, Oct 10, 2013 at 6:39 AM, daveb [via Asciidoctor :: Discussion] <[hidden email]> wrote:
When using toc2 it would be very nice if toc levels could be expanded or collapsed to make navigation easier.  With a very long toc, such as with the ever improving users manual, it is not always easy to find what you are looking.

Dave.



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Collapsable-Expandable-TOC-tp789.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | http://google.com/profiles/dan.j.allen