7

If I add a line below the first in _output.yml:

bookdown::gitbook:
  split_by: none
  css: ...

in the bookdown-demo the output becomes a single .html file which looks kind of plain ugly. Is it somehow possible to retain the nice style which is produced by the default settings but in a single file? If I want to send the book to someone else sending a stack of files is not great, especially if the person who receives it is not familiar with HTML as a document format.

miguelmorin
  • 5,025
  • 4
  • 29
  • 64
mhwh
  • 478
  • 4
  • 12

1 Answers1

5

This turns out to be a bug of bookdown, and I just fixed it on Github. You can install and test the development version (>= 0.3.3):

devtools::install_github('rstudio/bookdown')
Yihui Xie
  • 28,913
  • 23
  • 193
  • 419