pandoc
Convert documents between various formats. More information: <https://pandoc.org>.
Install
- All systems
-
curl cmd.cat/pandoc.sh
- Debian
-
apt-get install pandoc - Ubuntu
-
apt-get install pandoc - Arch Linux
-
pacman -S pandoc - Kali Linux
-
apt-get install pandoc - Fedora
-
dnf install pandoc - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install pandoc - OS X
-
brew install pandoc - Raspbian
-
apt-get install pandoc
Convert documents between various formats. More information: <https://pandoc.org>.
-
Convert file to PDF (the output format is determined by file extension):
pandoc input.md -o output.pdf -
Force conversion to use a specific format:
pandoc input.docx --to gfm -o output.md -
Convert to a standalone file with the appropriate headers/footers (for LaTeX, HTML, etc.):
pandoc input.md -s -o output.tex -
List all supported input formats:
pandoc --list-input-formats -
List all supported output formats:
pandoc --list-output-formats
© tl;dr; authors and contributors