handlebars-helper-prettify
Version:
{{prettify}} handlebars helper for formatting (beautifying) HTML, JavaScript and CSS.
15 lines (9 loc) • 347 B
Markdown
In the root of the project in which you plan to use the helper, in the command line run:
```bash
npm i {%= name %} --save
```
Use within your application with the following line of JavaScript:
```js
var helpers = require('{%= shortname %}');
```
Now your handlebars instance will have access to the {{{%= shortname %}}} helper.