pandoc_export_data_file {pandoc} | R Documentation |
Export Pandoc internal data file
Description
This correspond to the --print-default-data-file
CLI flag using
also --output
to write a export a data file built in Pandoc.
Usage
pandoc_export_data_file(file, output = file, version = "default")
pandoc_export_reference_doc(type = c("docx", "pptx"), version = "default")
Arguments
file |
One of data file name included in Pandoc (e.g |
output |
Path where to export the file. Default to working directory with the same file name. |
version |
Version to use. Default will be the
|
type |
one of |
Details
pandoc_export_reference_doc()
is a helper to quickly get the reference doc for
Word document (reference.docx
) or Powerpoint document (reference.pptx
)
Value
the output
(invisibly) where export has been done
Examples
# export style.html file included in Pandoc HTML template
pandoc_export_data_file("styles.html", output = "custom.html")
# export css file used for epub by default
pandoc_export_data_file("epub.css")
pandoc_export_reference_doc("docx")
pandoc_export_reference_doc("pptx")
pandoc_export_reference_doc("pptx", version = "2.11.4")