Skip to content

New TOC UI is leaving space for missing heading levels #3434

@rahulpathakgit

Description

@rahulpathakgit

Current behavior

If I provide heading level 1 and then skip 2 and 3 level and directly provide the level 4, the TOC UI is displaying the empty levels.

I don't know if this is intended behavior or not but I would definitely not want the empty spaces for heading levels which i have not provided. This will bloat the TOC if there are many instances on the page.

image

image

Environment

  • Version : 0.14
  • OS Version and name : Ubuntu 18.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvement request 🔨Issue concerns an existing feature that needs improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions