use text type in ajax call for markdown file