Changing extension to markdown from text