Convert a book to the EPUB format, which is is an e-book format supported by many readers, such as Amazon Kindle Fire and iBooks on Apple devices.
epub_book(fig_width = 5, fig_height = 4, dev = "png", fig_caption = TRUE,
number_sections = TRUE, toc = FALSE, toc_depth = 3, stylesheet = NULL,
cover_image = NULL, metadata = NULL, chapter_level = 1, epub_version = c("epub3",
"epub"), md_extensions = NULL, pandoc_args = NULL)
Figure options (width, height, the graphical device, and whether to render figure captions).
Whether to number sections.
Whether to generate a table of contents, and its depth.
A character vector of paths to CSS stylesheets to be applied to the eBook.
The path to a cover image.
The path to the EPUB metadata file.
The level by which the e-book is split into separate “chapter” files.
Whether to use version 3 or 2 of EPUB.
A character string of Pandoc Markdown extensions.
A vector of additional Pandoc arguments.