add codemirror overlay and gfm mode