Skip to content

Feature request (GitBook compatibility): Limit moxygen's heading level to values lower than 6 #136

Description

@gkodinov

I am trying to feed the .md files generated by moxygen to GitBook (gitbook.com). But GitBook only works well with h1-h4. h5 and h6 are causing it to choke.

FWIW, https://gitbook.com/docs/create-content/blocks/heading says that h1 is "page title" and h2-h4 are "headings level 1-3".

I know it's a tall ask, but would it be possible to somehow limit the nesting level to 4? Maybe with an extra option or something?

Otherwise I'll have to post- process my generated .md files with sed and that's ... ugly.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions