pandoc_convert_docx_md | R Documentation |
Converts a single DOCX file to Markdown format using Pandoc. Optionally, a YAML front matter with a title can be prepended to the output.
pandoc_convert_docx_md(input, input_wd = ".", output_path, title = NULL, ...)
input |
A character string specifying the DOCX file path relative to |
input_wd |
A character string specifying the input working directory.
Defaults to the current directory ( |
output_path |
A character string specifying the output path for the resulting Markdown file. |
title |
Optionally, a character string specifying the title to be added to the Markdown file.
If |
... |
Additional arguments passed to Pandoc. |
Invisible NULL
; the function writes the output directly to a file.
pandoc_convert_multi_docx_md
# pandoc_convert_docx_md("example.docx", output_path = "example.md", title = "Example Document")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.