Reference. Pandoc: a universal document convertor [008D]

If you need to convert files from one markup format into another, pandoc is your swiss-army knife.