formatting to md from txt