Skip to content

Disappear SIDETOC base text when under minimum amount of headlines? #15

@uninvolving

Description

@uninvolving

When there are no headlines, using SIDETOC still displays "(line) Table of Contents (line)" in the sidebar.

My desired behavior: when there are fewer than a minimum number of headlines (3), "Table of Contents" text and the remaining headlines should not be displayed, just like a normal TOC. Basically, appearance of the SIDETOC conditional on number of headlines on the current page.

How do I achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions