Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Show full section headings in table of contents #1206
Describe the feature you'd like
There should be an option to use full section headings and not truncate them.
Describe the benefits this feature would bring to BookStack users
In a proper table of contents (as can be found in real books), no entries are truncated. The purpose of the table of contents is to provide an outline of a book or document so that a reader can tell at a glance what that work contains. This cannot be done effectively when the contents are not displayed in full.
I would have done this in CSS by adjusting the word wrapping and overflow options, but it seems that the truncated headings are inserted directly with scripts rather than being styled with CSS, so I can't override this with styling alone.