Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

handlebars-helper-jade

helpers90.1.1

Compile Jade templates using a handlebars helper.

helper, jade, mixin, handlebars helper, underscore mixin, filter, template filter, swig filter, lodash, underscore, convenience methods

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 handlebars-helper-jade --save-dev

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

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