Escape text in markdown so that it doesn't get corrupted.