<commit_before>## Jedi ##

Jedi is a new template language (maybe do more such as url routing in the future)
inspired by [Jade](https://github.com/visionmedia/jade) / [Coffeekup](https://github.com/mauricemach/coffeekup) and many others. It's still in beta phase but we already
use it in production (http://m.baixing.com/) for several years.

[![NPM version](https://badge.fury.io/js/jedi.png)](http://badge.fury.io/js/jedi)
[![Dep status](https://david-dm.org/baixing/jedi.png)](https://david-dm.org/baixing/jedi)

### Install ###

```npm install jedi -g```

### Usage ###

```jedi example.jedi php```

```jedi -w example.jedi php```

### Template Syntax ###

See [examples](https://github.com/baixing/jedi/tree/master/examples)

### Known major bugs and limitations for 1.0 milestone

1. subtemplate fragments (which combine the power of Jade's mixin and block feature) is not fully implemented

1. only very basic support of import instruction

1. string concat and some other expression operators are not implemented


### Build system

* Gulp plugin: https://github.com/HerringtonDarkholme/gulp-jedi

### IDE/editor support ###

#### WebStorm/PHPStorm ####

NOTE: Only support simple keywords highlighting

Copy [jedi.xml](./editors/PHPStorm/jedi.xml) to 
```~/Library/Preferences/WebIde70/filetypes``` for MacOS
or ```%USERPROFILE%\.WebIde70\config\filetypes``` for Windows, restart WebStorm/PHPStorm

#### Others ####

Planned:

1. Code Browser, jEdit
2. NetBeans
3. CodeMirror, ACE<commit_msg>add cssmagic/jedi.xml<commit_after>## Jedi ##

Jedi is a new template language (maybe do more such as url routing in the future)
inspired by [Jade](https://github.com/visionmedia/jade) / [Coffeekup](https://github.com/mauricemach/coffeekup) and many others. It's still in beta phase but we already
use it in production (http://m.baixing.com/) for several years.

[![NPM version](https://badge.fury.io/js/jedi.png)](http://badge.fury.io/js/jedi)
[![Dep status](https://david-dm.org/baixing/jedi.png)](https://david-dm.org/baixing/jedi)

### Install ###

```npm install jedi -g```

### Usage ###

```jedi example.jedi php```

```jedi -w example.jedi php```

### Template Syntax ###

See [examples](https://github.com/baixing/jedi/tree/master/examples)

### Known major bugs and limitations for 1.0 milestone

1. subtemplate fragments (which combine the power of Jade's mixin and block feature) is not fully implemented

1. only very basic support of import instruction

1. string concat and some other expression operators are not implemented


### Build system

* Gulp plugin: https://github.com/HerringtonDarkholme/gulp-jedi

### IDE/editor support ###

#### WebStorm/PHPStorm ####

NOTE: Only support simple keywords highlighting

Copy [jedi.xml](./editors/PHPStorm/jedi.xml) to 
```~/Library/Preferences/WebIde70/filetypes``` for MacOS
or ```%USERPROFILE%\.WebIde70\config\filetypes``` for Windows, restart WebStorm/PHPStorm

There is also a variant edition [cssmagic/jedi.xml](https://github.com/cssmagic/jedi.xml) which adjust some details and add [CMUI](https://github.com/CMUI/CMUI) keywords.

#### Others ####

Planned:

1. Code Browser, jEdit
2. NetBeans
3. CodeMirror, ACE
{'fraction_non_alphanumeric': 0.15273412947831552, 'fraction_numerical': 0.00754242614707731, 'mean_word_length': 4.564685314685315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 7}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3326427', 'n_tokens_mistral': 1126, 'n_tokens_neox': 1050, 'n_words': 301}