grunt-html2jade

1.0.1 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    43
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    43
  • 1.0.0
    0
  • 0.2.0
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i grunt-html2jade

Weekly Downloads

43

Version

1.0.1

License

none

Last publish

Collaborators

  • hemanth