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 0.12.0.3, skylighting 0.10.0.3, # 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: https://pandoc.org # 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 file1.md -f markdown -t html -s -o file1.html