Fixing file extensions to markdown syntax