Skip to content

Make header level configurable #117

Open
@tobiastom

Description

@tobiastom

I'd like to implement configurable header elements. Inside the class I would introduce a default level 0. This would result in all # headers to be transformed into <h1>.

Setting the initial level to 2 would result all # headers to be transformed into <h3>.
Having a level of 2 would create an <h4> tag from ##. Formula would be like <number of header levels> + <initial level>.

I would create a pull request for this if you like the idea.

This seems to be related to #102, but I don't like the idea of defining aliases to each and every header element.

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