0.2.0 • Published 12 years ago

zeke v0.2.0

Weekly downloads
28
License
-
Repository
-
Last release
12 years ago

Zeke

A plug-able coffee-script template engine.

Zeke is Fork from https://github.com/mauricemach/coffeekup

It reduces the features to a base html template generator, with a broadway plug-in system.

#plugin
plugin = 
  attach: (options) ->
    @helpers['css'] = (content) ->
      text "<style type='text/css'>#{content}</style>"

zeke = require 'zeke'
zeke.use plugin
zeke.init()

# markup
zeke.render -> 
  doctype 5
  html ->
    head ->
      css '''
        body: { color: green; }
      '''
    body ->
      h1 'FooBar'

Install

npm install zeke

About

Zeke uses broadway to create a plug-in system for coffeekup template parser.

0.2.0

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago