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

Allow creation of Table of Contents with arbitrary depth #43

Closed
mythWizard opened this issue Sep 9, 2020 · 1 comment · Fixed by #44
Closed

Allow creation of Table of Contents with arbitrary depth #43

mythWizard opened this issue Sep 9, 2020 · 1 comment · Fixed by #44

Comments

@mythWizard
Copy link
Contributor

Currently, new_table_of_contents limits the header depth to 2. It may be useful to allow creation of a table of contents with more than 2 levels. For example, being able to create a ToC with labels:

Contents
========
- 1
    - 1.1
        - 1.1.1
        - 1.1.2
- 2
    - 2.1
        - 2.1.1
        - 2.1.2
            - 2.1.2a

etc.

I have worked on a personal fork and believe it would work. I would be willing to make a pull request if this sounds like a useful feature.

@didix21
Copy link
Owner

didix21 commented Sep 10, 2020

Seems fine. Any new feature is welcome!

didix21 added a commit that referenced this issue Sep 12, 2020
Implement #43 Allow table of contents to generate from arbitrary depth of headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants