Skip to content

Docs: Get title of the document from the markdown content header #17795

@EngincanV

Description

@EngincanV

Currently, the title of the page is using the file path for the related page. For example, when this page being rendered, the title become as follow:

image

For this case, it would be better to set the title as Getting-Started-with-the-MAUI. Therefore, we can try to get the h1 header from the content and use it as the title if it exists, otherwise, we can use the current approach and use and normalize the file path and use it as the title.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions