Skip to content

Configurable table of contents #4

Description

@raqbit

Currently we're using the markdown-it-toc-done-right plugin to automatically generate a table of contents whenever [toc] is found in the document.

This works fine, but there are some options in the TOC plugin which the user might want to change, like whether the document title should be in the TOC or if certain anchor-only headers should be listed there. Some of these things could be added as a config option to docmaker.yaml, but others will require changes to the TOC plugin. When working on that, we might as well look into adding these options as some sort of syntax change instead.

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

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions