JavaScript highlighting in README

pull/32/head
Wes Cossick 9 years ago
parent b1e045f5b1
commit 1227bb6abd

@ -139,7 +139,7 @@ Or, you can keep the height static:
## Event handling
You can catch the following list of events: https://codemirror.net/doc/manual.html#events
```
```JavaScript
var simplemde = new SimpleMDE();
simplemde.codemirror.on("change", function(){
console.log(simplemde.value());

Loading…
Cancel
Save