Skip to content

Heading levels #989

Open
Open
@eereeska

Description

Description

Please, add ability to control allowed heading levels such as CKEditor do

Example

It can be via config, similar to heading_permalink:

'heading_permalink' => [
    'min_heading_level' => 1,
    'max_heading_level' => 6,
],

To:

'headings' => [
    'min_level' => 2,
    'max_level' => 4,
],

So # H1 will became ## H2 & ###### H6 became #### H4 (closest allowed one)

Did this project help you today? Did it make you happy in any way?

Definitely love it ❤️

Metadata

Assignees

No one assigned

    Labels

    enhancementNew functionality or behaviorup-for-grabsPlease feel free to take this one!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions