jade-highlighter
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "1.0.2" | ||
"version": "1.0.3" | ||
} |
@@ -1,15 +0,24 @@ | ||
# jade-brackets | ||
# Jade Tools | ||
This is the official jade plugin for [Brackets](http://brackets.io/). This repository also houses the code mirror mode (in lib/mode.js) and the code for highlight-jade. | ||
This repository houses the source code that generates three different tools to help you program in jade: | ||
Brackets is the recommended editor for jade. | ||
- jade-brackets: the official jade plugin for the brackets editor | ||
- jade-highlight: a syntax highlighter for highlighting jade in node.js | ||
- jade-code-mirror: a browserifyable npm library that adds jade support to code-mirror | ||
There's also the raw CodeMirror mode in /lib/mode.js | ||
[](https://travis-ci.org/ForbesLindesay/jade-brackets) | ||
[](https://gemnasium.com/ForbesLindesay/jade-brackets) | ||
## highlight-jade | ||
## jade-brackets | ||
This is the official jade plugin for [Brackets](http://brackets.io/). Brackets is the recommended editor for jade. | ||
## jade-highlight | ||
A simple syntax highlighter for jade. | ||
[](http://badge.fury.io/js/jade-brackets) | ||
[](http://badge.fury.io/js/jade-highlight) | ||
@@ -19,3 +28,3 @@ ### Installation | ||
``` | ||
npm install highlight-jade | ||
npm install jade-highlight | ||
``` | ||
@@ -26,3 +35,3 @@ | ||
```js | ||
var jade = require('highlight-jade'); | ||
var jade = require('jade-highlight); | ||
@@ -36,4 +45,25 @@ // Optionally register additional languages to highlight filters etc. (by default html, js, css and markdown are supported) | ||
## jade-code-mirror | ||
A code mirror mode for jade neatly packaged as a proper little npm module with a peer dependency. | ||
### Installation | ||
``` | ||
npm install jade-code-mirror | ||
``` | ||
### Usage | ||
```js | ||
var CodeMirror = require('jade-code-mirror'); | ||
var editor = CodeMirror.fromTextArea(document.getElementById("code"), { | ||
mode: 'jade', | ||
lineNumbers: true | ||
}); | ||
``` | ||
## License | ||
MIT |
20033
4
66