pandoc Command Examples

Convert documents between various formats. More information: https://pandoc.org/MANUAL.html.

pandoc {{path/to/input.md}} {{[-o|--output]}} {{path/to/output.pdf}}

pandoc {{path/to/input.md}} {{[-s|--standalone]}} {{[-o|--output]}} {{path/to/output.html}}

pandoc {{-f|-r|--from|--read}} {{docx|...}} {{path/to/input}} {{-t|-w|--to|--write}} {{pdf|...}} {{[-o|--output]}} {{path/to/output}}

pandoc --list-input-formats

pandoc --list-output-formats