Skip to content

Markdown page table of contents #1263

@JorelAli

Description

@JorelAli

Expanding from the idea of @ishitatsuyuki, I think mdbook should have the option to have a right-hand sidebar with a table of contents for a page.

Screenshot example

image

Examples of similar documents:

This could be implemented as an option in the book.toml file, or could be a YAML front matter setting at the top of a page, such as:

---
toc: true
---

Page content here...

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