put text into md format