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

Show full section headings in table of contents #1206

trwnh opened this issue Jan 7, 2019 · 1 comment


Copy link

commented Jan 7, 2019

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.

Additional context

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.



This comment has been minimized.

Copy link

commented Jun 16, 2019

Thanks for the suggestion @trwnh.
This is now in master, ready for the next release. Up to 100 characters will be put on the front end (Limit just in-case a parsing error occurs).

To prevent the ellipsing, you'll be able to override the limit-text class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.