add markdown and yaml modes