Skip to content

Table of Contents Indenting #542

Description

@Ethanb00

I'm calling this a bug request, but I'm not sure if it is actually a bug

For Bug Reports

  • BookStack Version: 18.1
  • PHP Version: PHP7
Expected Behavior

On the left-hand table of contents, I would expect a standard way that headers stack under each other. Whether it is a static indent corresponding to the number of #s or whether it is indented on the basis of "this section has fewer #s than the last section so it goes in one indent value"

Current Behavior

Presently, I had a section with a 2 # header (i.e. ## Title), followed by a 6 hash header (i.e. ######) in a page with several other headers. However, the table of contents did not accurately reflect the page structure. See image:
2017-10-03 12_37_08-on-boarding procedure _ techops docs

As you can see the section titled "Preceding the creation....." should fall below (i.e. indent under) "Documenting Account Information"

I hope that makes sense. I was having trouble explaining this so I am happy to try to clarify if needed.

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions