If you need to convert files from one markup format into another, Pandoc is your swiss-army knife.
The following code will upgrade Pandoc on Ubunutu to version 188.8.131.52.
pandoc -v to see which version you're currently using.
sudo wget https://github.com/jgm/pandoc/releases/download/184.108.40.206/pandoc-220.127.116.11-1-amd64.deb sudo dpkg -i pandoc-18.104.22.168-1-amd64.deb
pandoc -v to see the new version.
You should now see "pandoc 22.214.171.124".