set markdown type for .md file