<commit_before>## nunjucks-brunch
Adds nunjucks support to [brunch](http://brunch.io).

## Usage
Install the plugin via npm with `npm install --save nunjucks-brunch`.

Or, do manual install:

* Add `"nunjucks-brunch": "x.y.z"` to `package.json` of your brunch app.
  Pick a plugin version that corresponds to your minor (y) brunch version.
* If you want to use git version of plugin, add
`"nunjucks-brunch": "git+ssh://git@github.com:brunch/nunjucks-brunch.git"`.

### Brunch plugin settings
If customization is needed or desired, settings can be modified in your brunch
config file (such as `brunch-config.coffee`):

* __templatePath__: The top-level directory where your nunjucks templates are stored. Default `app/views`. Windows users will want to use `app\\views`.

* __pathReplace__: _(RegExp)_ Sets the regular expression applied against the source file path to create the module name. Matched characters are removed. Default `/^app(\/|\\)views(\/|\\).*.html$/`

**Example:**
```coffeescript
exports.config =<commit_msg>Fixed a link in the README<commit_after>## nunjucks-brunch
Adds nunjucks support to [brunch](http://brunch.io).

## Usage
Install the plugin via npm with `npm install --save nunjucks-brunch`.

Or, do manual install:

* Add `"nunjucks-brunch": "x.y.z"` to `package.json` of your brunch app.
  Pick a plugin version that corresponds to your minor (y) brunch version.
* If you want to use git version of plugin, add
`"nunjucks-brunch": "<EMAIL>:PxlBuzzard/nunjucks-brunch.git"`.

### Brunch plugin settings
If customization is needed or desired, settings can be modified in your brunch
config file (such as `brunch-config.coffee`):

* __templatePath__: The top-level directory where your nunjucks templates are stored. Default `app/views`. Windows users will want to use `app\\views`.

* __pathReplace__: _(RegExp)_ Sets the regular expression applied against the source file path to create the module name. Matched characters are removed. Default `/^app(\/|\\)views(\/|\\).*.html$/`

**Example:**
```coffeescript
exports.config =
{'fraction_non_alphanumeric': 0.12171372930866602, 'fraction_numerical': 0.0, 'mean_word_length': 4.569105691056911, 'pattern_counts': {'":': 4, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '2383370', 'n_tokens_mistral': 644, 'n_tokens_neox': 630, 'n_words': 247}