Skip to content

Page Title ignores setext-style headers #1826

@Rylon

Description

@Rylon

Hi!

I'm trying to create some internal documentation for a project that has a mix of custom and third-party code in it. Some of the third-party code has Markdown documentation I'd like to include, however some of the page titles aren't working, I think because these third-party docs use an alternative style of Markdown, where the headers are designated using either = or -, for example:

This is the title
=============

This is some content

This is a second title
------------------

Some more content

This is a final title
------------------

The end

In this case the title is not detected, and the filename README.md results in a title in the sidebar of 'Index'.

Is there anything I can do here to support this style of header? Do you have any suggestions?

Thank you!

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