middleman/vendor/sinatra-markaby
2009-08-12 13:04:58 -07:00
..
lib/sinatra add vendor back 2009-08-12 13:04:58 -07:00
test add vendor back 2009-08-12 13:04:58 -07:00
CHANGES add vendor back 2009-08-12 13:04:58 -07:00
LICENSE add vendor back 2009-08-12 13:04:58 -07:00
Rakefile add vendor back 2009-08-12 13:04:58 -07:00
README.rdoc add vendor back 2009-08-12 13:04:58 -07:00
sinatra-markaby.gemspec add vendor back 2009-08-12 13:04:58 -07:00
TODO add vendor back 2009-08-12 13:04:58 -07:00
VERSION.yml add vendor back 2009-08-12 13:04:58 -07:00

= sinatra-markaby

sinatra-markaby is an extension for sinatra to enable rendering of html files
using markaby templates.

== Installation

  sudo gem install sbfaulkner-sinatra-markaby -s http://gems.github.com

== Example

  require 'rubygems'
  require 'sinatra'
  require 'sinatra/markaby'

  get '/' do
    markaby :template
  end

  __END__

  @@ template
  mab.html do
    head { title "Hello world" }
    body do
      p "Hello world!!!!!"
    end
  end

== Legal

Author:: S. Brent Faulkner <brentf@unwwwired.net>  
License:: Copyright (c) 2009 unwwwired.net, released under the MIT license