If you need to convert files from one markup format to another, pandoc is your Swiss army knife.
Pandoc supports the conversion of hundreds of formats.