CodeMirror HTML mode not working
问题 I'm trying to style code samples with CodeMirror, but it works partially - it applies the selected theme to the textarea but the syntax is not highlighted. There is my page: <textarea id="template-html" name="code" class="CodeMirror"> <!DOCTYPE html> <foobar> <blah>Enter your xml here and press the button below to display it as highlighted by the CodeMirror XML mode</blah> <tag2 foo="2" bar="bar" /> </foobar> </textarea> <link rel="stylesheet" type="text/css" href="/site.com/css/codemirror