add code mirror for markdown editting