Description Usage Arguments Note
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.
1 2 3 4 |
fig_width, fig_height, dev, fig_caption |
Figure options (width, height, the graphical device, and whether to render figure captions). |
number_sections |
Whether to number sections. |
toc, toc_depth |
Whether to generate a table of contents, and its depth. |
stylesheet |
A character vector of paths to CSS stylesheets to be applied to the eBook. |
cover_image |
The path to a cover image. |
metadata |
The path to the EPUB metadata file. |
chapter_level |
The level by which the e-book is split into separate “chapter” files. |
epub_version |
Whether to use version 3 or 2 of EPUB. |
md_extensions |
A character string of Pandoc Markdown extensions. |
pandoc_args |
A vector of additional Pandoc arguments. |
template |
Pandoc template to use for rendering. Pass |
Figure/table numbers cannot be generated if sections are not numbered
(number_sections = FALSE
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.