Is there a non manual way to renumber chapters in bookdown?

I am new to bookdown and the only way I have been able to move chapters around has been to manually rename Rmd files. I was wondering if there was any easier way to do this.

You can put some options in a file named _bookdown.yml in the same directory as the Rmd files. The rmd_files option lets you dictate the chapter order:

# In the _bookdown.yml file
  - index.Rmd     # Chapter 1
  - abstract.Rmd  # Chapter 2
  - intro.Rmd     # Chapter 3

Thank you! This is great

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