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 220.127.116.11.
pandoc -v to see which version you're currently using.
sudo wget https://github.com/jgm/pandoc/releases/download/18.104.22.168/pandoc-22.214.171.124-1-amd64.deb sudo dpkg -i pandoc-126.96.36.199-1-amd64.deb
pandoc -v to see the new version.
You should now see "pandoc 188.8.131.52".