Skip to content

mateusmaso/handlebars.nested

Repository files navigation

handlebars.nested Build Status

[DEPRECATED] This is a Handlebars plugin which allows nesting helpers and expressions in one level deep. For latest versions of Handlebars, please consider using subexpressions instead.

Install

$ npm install --save handlebars.nested

Usage

var Handlebars = require("handlebars");
require("handlebars.nested").default(Handlebars);

Examples

<table>
  <tr>
    <td>{{autolink "{{breakline text}}"}}</td>
    <td>{{tooltip placeholder="{{t 'tooltip.placeholder'}}" title="{{user.name}} is following"}}</td>
  </tr>
</table>

License

MIT © Mateus Maso