Project

ruby-jade

0.0
No commit activity in last 3 years
No release in over 3 years
Ruby wrapper for the Jade templating language
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0

Runtime

>= 0
 Project Readme

This is a simple wrapper for version 0.27.7 of Jade.

It lets you:

  1. precompile Jade templates for use in the browser, although you also need to load this file on the client first.
Jade.compile("html\n  div Hello!") # returns a JS function
  1. render Jade templates to HTML.
Jade.render("html\n  div Hello!") # returns a HTML string