append markdown to text_mode_filetypes