Fix markdown filetype detection