changing format to markdown