automode to markdown-mode