html2jade
grunt-Convert HTML to JADE.
How to use this?
npm install grunt-html2jade --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt;
The "html2jade" task
Overview
In your project's Gruntfile, add a section named html2jade
to the data object passed into grunt.initConfig()
.
grunt;
Options
{
double:true,
numeric:false,
scalate:false,
nspaces:2,
tabs:false,
donotencode:false,
bodyless:false,
}
Read more about the options.
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.