|
1 |
| -# The Underscore engine for Pattern Lab / Node |
| 1 | +# The Underscore PatternEngine for Pattern Lab / Node |
2 | 2 |
|
3 | 3 | ## Installing
|
4 | 4 |
|
5 |
| -To install the Underscore engine in your edition, `npm install patternengine-node-underscore` should do the trick. |
| 5 | +To install the Underscore PatternEngine in your edition, `npm install @pattern-lab/engine-underscore` should do the trick. |
6 | 6 |
|
7 | 7 | ## Supported features
|
8 | 8 |
|
9 |
| -* [x] [Includes](http://patternlab.io/docs/pattern-including.html) (Accomplished using the included [`_.renderNamedPartial()`](https://github.com/pattern-lab/patternengine-node-underscore/blob/master/lib/engine_underscore.js#L54-L59)) |
| 9 | +* [x] [Includes](http://patternlab.io/docs/pattern-including.html) (Accomplished using the included [`_.renderNamedPartial()`](https://github.com/pattern-lab/patternlab-node/blob/master/packages/engine-underscore/lib/engine_underscore.js#L54-L60)) |
10 | 10 | * [x] Lineage
|
11 | 11 | * [x] [Hidden Patterns](http://patternlab.io/docs/pattern-hiding.html)
|
12 | 12 | * [x] [Pseudo-Patterns](http://patternlab.io/docs/pattern-pseudo-patterns.html)
|
13 | 13 | * [x] [Pattern States](http://patternlab.io/docs/pattern-states.html)
|
14 |
| -* [ ] [Pattern Parameters](http://patternlab.io/docs/pattern-parameters.html) (Accomplished instead using parameter object passed to the included [`_.renderNamedPartial()`](https://github.com/pattern-lab/patternengine-node-underscore/blob/master/lib/engine_underscore.js#L54-L59) mixin function) |
15 |
| -* [ ] [Style Modifiers](http://patternlab.io/docs/pattern-stylemodifier.html) (Accomplished instead using parameter object passed to the included [`_.renderNamedPartial()`](https://github.com/pattern-lab/patternengine-node-underscore/blob/master/lib/engine_underscore.js#L54-L59) mixin function) |
| 14 | +* [ ] [Pattern Parameters](http://patternlab.io/docs/pattern-parameters.html) (Accomplished instead using parameter object passed to the included [`_.renderNamedPartial()`](https://github.com/pattern-lab/patternlab-node/blob/master/packages/engine-underscore/lib/engine_underscore.js#L54-L60) mixin function) |
| 15 | +* [ ] [Style Modifiers](http://patternlab.io/docs/pattern-stylemodifier.html) (Accomplished instead using parameter object passed to the included [`_.renderNamedPartial()`](https://github.com/pattern-lab/patternlab-node/blob/master/packages/engine-underscore/lib/engine_underscore.js#L54-L60) mixin function) |
16 | 16 |
|
17 | 17 | ## Extensions to basic Underscore functionality
|
18 | 18 |
|
19 | 19 | ### Pattern including
|
20 | 20 |
|
21 |
| -Underscore templates include no native support for calling other templates, so support for pattern including is accomplished through an included Underscore mixin function, [`_.renderNamedPartial()`](https://github.com/pattern-lab/patternengine-node-underscore/blob/master/lib/engine_underscore.js#L54-L59), and is considered experimental, but seems to work just fine. |
| 21 | +Underscore templates include no native support for calling other templates, so support for pattern including is accomplished through an included Underscore mixin function, [`_.renderNamedPartial()`](https://github.com/pattern-lab/patternlab-node/blob/master/packages/engine-underscore/lib/engine_underscore.js#L54-L60), and is considered experimental, but seems to work just fine. |
22 | 22 |
|
23 | 23 | #### Example
|
24 | 24 |
|
|
0 commit comments