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