I have an RMarkdown template that uses create_dir: true to set up a bookdown project with custom gitbook/pdf rendering stuff (e.g., _output.yml
create_dir: true
bookdown
_output.yml