Reputation: 61
I'm trying to write an HTML editor using CodeMirror for some inhouse Domain Specific Language. I need help to write the mode and hints, where to start?
Is there any documentation other than the Codemirror.net website?
Upvotes: 1
Views: 479
Reputation: 8929
You could look at some of the simple modes, such as mode/diff/diff.js
and mode/properties/properties.js
. And of course, read the manual.
[edit]: Good news, this just got a lot easier. See http://codemirror.net/demo/simplemode.html
Upvotes: 2