pandoc_convert_docx_plain: Convert a DOCX File to Plain Text

View source: R/docx_to_md.R

pandoc_convert_docx_plainR Documentation

Convert a DOCX File to Plain Text

Description

Converts a single DOCX file to plain text format using Pandoc.

Usage

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

Arguments

input

A character string specifying the DOCX file path relative to input_wd.

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 text file.

...

Additional arguments passed to Pandoc.

Value

Invisible NULL; the function writes the output directly to a file.

See Also

pandoc_convert_multi_docx_plain

Examples

# pandoc_convert_docx_plain("example.docx", output_path = "example.txt")

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