Pandoc is command line tool for converting from one markup format to another.
Has explain in installation documentation
Pandoc could be found in many Linux repositories (including Mint) but that versions in the repositories are often old.
Pandoc you can use:
sudo apt update && sudo apt install pandoc -y
For intensive use of
Pandoc you probably want to use
Quick stack method.
This solution is pretty simple, just follow documentation.
This process will take a while, and will consume a considerable amount of disk space.
Complete Manual location.