correct extension for markdown file