Skip to content

jkurdel/ruby-jade

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple wrapper for version 1.11.0 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

About

A Ruby wrapper for the Jade template engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%