O'Reilly logo

Grunt Cookbook by Jurie-Jan Botha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Templating Engines

In this chapter, we will cover the following recipes:

  • Rendering Jade templates
  • Using data in a Jade template
  • Using custom filters in a Jade template
  • Compiling Jade templates
  • Compiling Handlebars templates
  • Compiling Underscore templates
  • Using partials in Handlebars templates
  • Wrapping Jade templates in AMD modules
  • Wrapping Handlebars templates in AMD modules
  • Wrapping Underscore templates in AMD modules
  • Wrapping Handlebars templates in CommonJS modules
  • Altering Jade templates before compilation
  • Altering Handlebars templates before compilation
  • Altering Underscore templates before compilation

Introduction

The generation of content by combining logic and data poses a unique set of problems, and template engines are specifically designed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required