Description Usage Arguments Value
View source: R/bookdown_to_leanpub.R
Convert Bookdown to Leanpub
1 2 3 4 5 6 7 8 | bookdown_to_leanpub(
path = ".",
render = TRUE,
output_dir = "manuscript",
make_book_txt = TRUE,
remove_resources_start = FALSE,
verbose = TRUE
)
|
path |
path to the bookdown book, must have a '_bookdown.yml' file |
render |
if 'TRUE', then [bookdown::render_book()] will be run on each Rmd. |
output_dir |
output directory to put files. It should likely be relative to path |
make_book_txt |
Should [leanbuild::bookdown_to_book_txt()] be run to create a 'Book.txt' in the output directory? |
remove_resources_start |
remove the word 'resources/' at the front of any image path. |
verbose |
print diagnostic messages |
A list of output files and diagnostics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.