Pandoc is a universal document converter. Pandoc is a free and open-source document converter, widely used as a writing tool and as a basis for publishing workflows.

If you need to convert files from one markup format into another, pandoc is your swiss-army knife. Pandoc can convert between the following formats:

  • Installing pandoc and Verify the version of Pandoc
pandoc --version
# pandoc 2.11.2
# Compiled with pandoc-types 1.22, texmath, skylighting,
# citeproc 0.2, ipynb 0.1
# User data directory: /Users/jayjo/.local/share/pandoc or /Users/jayjo/.pandoc
# Copyright (C) 2006-2020 John MacFarlane. Web:
# This is free software; see the source for copying conditions. There is no
# warranty, not even for merchantability or fitness for a particular purpose.
  • Converting a file
pandoc -f markdown -t html -s -o file1.html

Leave a Reply

Your email address will not be published.