pandoc
Convert documents between various formats. More information: https://pandoc.org/MANUAL.html.
- Convert a Markdown file to PDF using
pdflatex(the formats are determined by file extensions):
pandoc
- Convert the output from another command to PDF, using a specific PDF engine:
| pandoc --pdf-engine
- Convert to a standalone file with the appropriate headers/footers (for LaTeX, HTML, etc.):
pandoc
- Manually specify formats (overriding automatic format detection using the filename extension, or when there is no extension):
pandoc
- Transform a document using a Lua script (see https://pandoc.org/lua-filters.html for more information):
pandoc
- Convert a remote HTML file to markdown and print the result to
stdout:
pandoc html markdown
- List all supported input formats:
pandoc --list-input-formats
- List all supported output formats:
pandoc --list-output-formats
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
