View source: R/create_protocol_helpers.R
| create_from_docx | R Documentation |
docx protocolThe docx file is first converted to a single Rmd file with the aid of
pandoc (called from convert_docx_to_rmd).
Any emf images are converted to png.
Next, the file is split by chapter in multiple Rmd files.
All graphics files will be stored in a ./media folder.
Bookdown compatible captions and cross-references for Figures and Tables are
added if and only if 'Figuur' and 'Tabel' is used in the original
document.
create_from_docx(from_docx, path_to_protocol)
from_docx |
A character string with the path (absolute or relative) to
a |
path_to_protocol |
Absolute path to the protocol folder where the
protocol created from |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.