bookdown
bookdown copied to clipboard
Improved intermediate cleanup
- Save render args in tempdir()
- Pass clean argument to chapter render
- Delete intermediate .md files
Fixes #986
I don't 100% follow the intent of this code, so I'm not sure if these are the correct fixes, but they resolve the problem for me, and I'm happy to respond to feedback.
Also see: https://github.com/rstudio/bookdown/issues/986#issuecomment-816045086