changing post to .md file type