Link Search Menu Expand Document


Convert documents between various formats. More information:

  • Convert file to pdf (the output format is determined by file extension):

pandoc {{}} -o {{output.pdf}}

  • Force conversion to use a specific format:

pandoc {{input.docx}} --to {{gfm}} -o {{}}

  • Convert to a standalone file with the appropriate headers/footers (for LaTeX, HTML, etc.):

pandoc {{}} -s -o {{output.tex}}

  • List all supported input formats:

pandoc --list-input-formats

  • List all supported output formats:

pandoc --list-output-formats