fixed folding issue for markdown files