Clean up submission text to be markdown-flavored.