pandoc: update page (#14422)
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
# pandoc
|
||||
|
||||
> Convert documents between various formats.
|
||||
> More information: <https://pandoc.org>.
|
||||
> More information: <https://pandoc.org/MANUAL.html>.
|
||||
|
||||
- Convert file to PDF (the output format is determined by file extension):
|
||||
|
||||
`pandoc {{input.md}} -o {{output.pdf}}`
|
||||
`pandoc {{path/to/input.md}} {{-o|--output}} {{path/to/output.pdf}}`
|
||||
|
||||
- Convert to a standalone file with the appropriate headers/footers (for LaTeX, HTML, etc.):
|
||||
|
||||
`pandoc {{input.md}} -s -o {{output.html}}`
|
||||
`pandoc {{path/to/input.md}} {{-s|--standalone}} {{-o|--output}} {{path/to/output.html}}`
|
||||
|
||||
- Force conversion to use a specific format:
|
||||
- Manually specify format detection and conversion (overriding automatic format detection using filename extension or when filename extension is missing altogether):
|
||||
|
||||
`pandoc {{input.docx}} --to {{gfm}} -o {{output.md}}`
|
||||
`pandoc {{-f|-r|--from|--read}} {{docx|...}} {{path/to/input}} {{-t|-w|--to|--write}} {{pdf|...}} {{-o|--output}} {{path/to/output}}`
|
||||
|
||||
- List all supported input formats:
|
||||
|
||||
|
Reference in New Issue
Block a user