1.0.1 • Published 8 years ago

grunt-html2jade v1.0.1

Weekly downloads
1
License
-
Repository
github
Last release
8 years ago

grunt-html2jade build-status

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.loadNpmTasks('grunt-html2jade');

The "html2jade" task

Overview

In your project's Gruntfile, add a section named html2jade to the data object passed into grunt.initConfig().

grunt.initConfig({
  html2jade: {
    options: {
      // Task-specific options go here.
    },
    your_target: {
      // Target-specific file lists and/or options go here.
    },
  },
});

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.

1.0.1

8 years ago

1.0.0

8 years ago

0.2.0

9 years ago

0.1.1

10 years ago

0.1.0

10 years ago