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