#swig-htmltidy
Use htmltidy tidy functionality as a swig tag.
##Install
npm install --save swig-htmltidy
##Usage
var swigHtmlTidy = require('swig-htmltidy')
, swig = require('swig')
//Add all lodash functions
swigHtmlTidy.useTag(htmltidy, 'htmltidy')
Now you can use the lodash functions as a swig filter.
{% htmltidy %}<p class="name"></p>{% endhtmltidy %}
Made with ⚡️ by @aanzeenl