A quick reference to Pandoc.
Created on: 2019-01-21
I have recently discovered pandoc, a command line tool for converting documents. It is a very useful tool and as it says in their site it is turning out to be a universal document convert for me. I am mainly using pandoc to convert Microsoft Word Documents (.docx) documents to Markdown (.md).
I am using Ubuntu 18.04 LTS so installing pandoc is as easy as typing:
sudo apt install pandoc -y
So lets see some usage.
We can use the following command to converting .docx to .md:
pandoc --extract-media=$media_dir -f docx example.docx -t markdown -o example.md
See more usages at Pandoc Demo Example page. Try online at Try pandoc!.