Skip to content

Specifying heading levels in rST #567

Description

@orome

In a .md file I'm able to specify heading levels that are respected in they way they are displayed on GitHub, but my .rst files are not: the "highest" level heading is treated as a level 1 heading,

For example,

## Heading

in a .md will be treated as a second-level heading, while its equivalent (e.g as generated by pandoc),

Heading
-------

is treated as a first-level heading.

Is there a way to overcome this? Can I fix the heading level in rST, or at least have GitHub interpreted it that way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions