value (string or Doc)
mode (string or object)
name
{name: "javascript", json: true}
CodeMirror.modes
CodeMirror.mimeModes
theme (string)
.cm-s-[name]
theme
"default"
codemirror.css
"foo bar"
cm-s-foo
cm-s-bar
Demonstration of bi-directional text support. See the related blog post for more background.