Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.

The full list


Thanks to a library called transformers by Forbes Lindesay, Jade supports a huge number of these preprocessed languages. You need to install the individual language compilers for most of the transformers, but they're usually pretty easy to install because they're almost all contained in npm modules like the Jade compiler that you installed in Chapter 1, What is Jade?.

Template engines

It is a little strange to use another template engine inside of Jade code, but it is nevertheless allowed because the underlying transformers library supports it. The following is a list of templating engines:

  • atpl: Compatible with twig templates

  • coffeecup: Pure CoffeeScript templates (fork of coffeekup)

  • dot: Focused on speed

  • dust: Asynchronous templates

  • eco: Embedded CoffeeScript templates

  • ect: Embedded CoffeeScript templates

  • ejs: Embedded JavaScript templates

  • haml: Dry indented markup

  • haml-coffee: This is haml with embedded CoffeeScript

  • handlebars: Extension of mustache templates

  • hogan: mustache...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Web Development with Jade
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon