diff --git a/pages/common/pandoc.md b/pages/common/pandoc.md index 00c2cb680..173f68d01 100644 --- a/pages/common/pandoc.md +++ b/pages/common/pandoc.md @@ -1,7 +1,15 @@ # pandoc -> General markup converter. +> Convert documents between various formats. - Convert file to pdf (the output format is automatically determined from the output file's extension): `pandoc {{input.md}} -o {{output.pdf}}` + +- Convert a file to a specific output format (useful for when the extension alone is ambiguous): + +`pandoc {{input.docx}} --to {{markdown_github}} -o {{output.md}}` + +- List all supported input and output formats: + +`pandoc --help | head`