Bookdown: Single html output file
Asked Answered
L

1

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.

Libration answered 5/12, 2016 at 14:3 Comment(1)
Sounds like a bookdown bug to me. I'll investigate.Buggy
B
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')
Buggy answered 8/12, 2016 at 20:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.