pandoc_convert_multi_docx_md: Convert Multiple DOCX Files to Markdown

View source: R/docx_to_md.R

pandoc_convert_multi_docx_mdR Documentation

Convert Multiple DOCX Files to Markdown

Description

This function processes multiple DOCX files, converting each to a Markdown format using Pandoc. It operates on vectors of input and output paths, converting each file in sequence.

Usage

pandoc_convert_multi_docx_md(input, input_wd = ".", output_path, ...)

Arguments

input

A character vector of DOCX file paths relative to input_wd.

input_wd

A character string specifying the input working directory. Defaults to the current directory (".").

output_path

A character vector of output paths for the resulting Markdown files.

...

Additional arguments passed to pandoc_convert_docx_md.

Value

Invisible NULL. The function is used for its side effects (file creation).

See Also

pandoc_convert_docx_md

Examples

## TODO
# pandoc_convert_multi_docx_md(c("doc1.docx", "doc2.docx"), output_path = c("out1.md", "out2.md"))

Lightbridge-KS/lbdoc documentation built on May 16, 2024, 3:03 p.m.