-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown page table of contents #1263
Comments
Come across this issue when I tried to find a solution for in-page tocs. This is such a great job and I wonder why not file a PR to merge this into mdbook's main stream so that everyone can use this feature out-of-box? |
wow, this is exactly what I need, I spent a lot of time looking for it, |
It would be nice if the solution to this didn't involve JS because that just offloads the needed changes in mdbooks source to end-users (doc readers) on page load. |
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
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:The text was updated successfully, but these errors were encountered: