Skip to content

TOC helper: add min_depth #3288

@noraj

Description

@noraj

Enhancement

On the TOC helper (https://hexo.io/docs/helpers#toc), it would be great to add a min_depth option so we are able to set a minimum heading depth of generated toc.

This way we will be able to exclude h1 from the TOC for example.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions