How to create a table of contents with bookdown INSIDE a page?

Hello, I am making a book with bookdown, and apart from the sidebar, I would like to have a dedicated page with an in-page table of contents, like a normal book. How do I do that?

I found this for Rmarkdown files, but it doesn't work for the multiple Rmd files of a bookdown project. Any other ways?

1 Like

I don't think this is an included feature. You could open a feature request for that.

Best solution for now would be to modify the script you found to make it work for a multifile project, or come up with a new one to generate a toc in html from your Rmd files within a R chunk. Seems feasible.... :man_shrugging:

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.