convert plain text to markdown