rectify txt to md