infews/keydown

Syntax highlighting of HTML

Opened this issue · 2 comments

How do I so syntax highlighting of HTML? This doesn't work:

``` html
    <!-- include jasmine source files here... -->
    <link rel="stylesheet" type="text/css" href="lib/jasmine-1.3.1/jasmine.css">
```

Nor

``` js
    <!-- include jasmine source files here... -->
    <link rel="stylesheet" type="text/css" href="lib/jasmine-1.3.1/jasmine.css">
```

Have the same problem, it is not working with the default installation as the README says.

I got it working by using htmlmixed instead of html. The name htmlmixed comes from the CodeMirror library.

 ``` htmlmixed
     <!-- include jasmine source files here... -->
     <link rel="stylesheet" type="text/css" href="lib/jasmine-1.3.1/jasmine.css">
 ```

To get all existing modes just run ls deck.js/extensions/codemirror/mode/ in your current keydown folder.