add codemirror and demo