Skip to content

Avoid the need to duplicate page titles #2763

@szabgab

Description

@szabgab

Problem

Right now, if I am not mistaken I have to include the title of each page both in the SUMMARY.md and in the markdown file of the page itself with a #.

That means if I change the title of a page I also have to remember to update it in the other place.

Proposed Solution

I think it would be nice if I could leave the title of the page empty in the `SUMMARY.md

[](./page.md)

and mdbook would use the title from the page.md file in the table of contents as well.

Notes

mdbook v0.4.51

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: Enhancement or feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions