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