CodeMirror demo extracted from Loom