modify extension for markdown