try to display as markdown directly by updating the extension of file