Changing markdown editor to codemirror