Skip to content
This repository has been archived by the owner on Apr 6, 2018. It is now read-only.

Syntax highlighting of HTML #27

Open
tekumara opened this issue Apr 17, 2013 · 2 comments
Open

Syntax highlighting of HTML #27

tekumara opened this issue Apr 17, 2013 · 2 comments

Comments

@tekumara
Copy link

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">
```
@wikimatze
Copy link

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

@patrikjohansson
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants