convert raw txt to markdown