I had read the offical manual, http://codemirror.net/doc/manual.html.
I had download the zip package from http://codemirror.net/codemirror.zip.
<link href="http://cdn.bootcss.com/codemirror/5.23.0/codemirror.min.css" rel="stylesheet">
<script data-main="/requirejsdemo.js" src="http://cdn.bootcss.com/require.js/2.3.2/require.min.js"></script>
var aa = 'bb';
Now, the question is,
lineNumbers: true is effective, but highlighting is invalid.
I don't understand why.
There is nothing in Console.
I know my JS Code is diffent with the offical code from manual, but my code could running, and I can't run the offical code, although I tried to modify the offical code to near my need.
Somebody good hearted people can help me? Please type the whole code at here or Codepen.io, thank you very much!