helper-jade

Compile Jade templates using a handlebars helper.

Usage no npm install needed!

<script type="module">
  import helperJade from 'https://cdn.skypack.dev/helper-jade';
</script>

README

{{jade}} NPM version

A Handlebars helper for converting Jade to HTML.

Quickstart

In the root of your project, run the following in the command line:

npm i helper-jade --save

Usage

{{jade "path/to/file.jade"}}

Options

task options

Options can be set in your Gruntfile, in the jade object in the Assemble task or target options:

grunt.initConfig({
  assemble: {
    options: {
      jade: {
        pretty: true
      }
    }
    ...
  }
});

Author

License and Copyright

Licensed under the MIT License Copyright (c) Jon Schlinkert, contributors.