This article is a mirror article of machine translation, please click here to jump to the original article.

View: 8392|Reply: 1

Use Pandoc to convert Markdown to Word documents in bulk under Windows

[Copy link]
Posted on 11/4/2021 6:20:29 PM | | | |
First, you need to install Pandoc, download the address:The hyperlink login is visible.

Pandoc can complete the mutual conversion of multiple file types, and the supported file formats can be found on the official website.
The Pandoc commands are used by:

pandoc <files> <options>

where <files> is the input content, the input can be from a file, a standard input or even a web link. and <options> is a parameter option. The main parameter options are:

-f<format>, -r<format>: Specify the input file format, default to Markdown;

-t<format>, -w<format>: Specify the output file format, default to HTML;

-o<file>: Specify the output file, which will be output to the standard output by default;

--highlight-style<style>: Set the code highlight theme, default to pygments;

-s: Generate a separate file with a head and tail (HTML, LaTeX, TEI or RTF);

-S: Smart mode, judge the format of the file based on it;

--self-contained: Generates self-contained files, valid only when outputting HTML documents;

--verbose: Turn on Verbose mode for debugs;

--list-input-formats: lists supported input formats;

--list-output-formats: lists supported output formats;

--list-extensions: lists supported Markdown extension schemes;

--list-highlight-languages: lists programming languages that support code highlighting;

--list-highlight-styles: lists supported code highlight themes;

-v、--version: Displays the version number of the program;

-h、--help: Displays the program's help information.


Pandoc converts Markdown to Word document scripts in bulk as follows:

The renderings are as follows:






Previous:nginx try_files configuration in detail
Next:Use iPerf3 to test device network communication speeds
Posted on 4/26/2023 10:18:21 AM |
Check it out and hope it's worth it
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com