rstudio / bookdown-demo

A minimal book example using bookdown
https://bookdown.org/yihui/bookdown-demo
Creative Commons Zero v1.0 Universal
511 stars 1.34k forks source link

Table of contents stopped working #73

Closed RollinsinLeeds closed 8 months ago

RollinsinLeeds commented 9 months ago

Hi. Apologies, I'm likely asking in the wrong place. However, I've recently returned to using RStudio to edit my BS4 book which I uploaded as a website some time ago.

For some reason the table of contents are not working, both with my old project file and when creating a new project in BS4 format. Only the first item appears in the contents list, so for the startup project I get 'Chapter 1 About'.

I have almost no technical understanding about how all this works, but can pick apart and modify existing code.

I've tried updating everything, I've seen that rolling back versions is an option, although I don't know how to do that.

Any advice appreciated Sam

RollinsinLeeds commented 8 months ago

My fault I think, when knitting the TOC did not work but when building the book it did. Thought I'd tried that already.