Sha256: a45208bb3cc65374e0e5e75a93df3896ffd1ca06673dca9227b986efd1644de5

Contents?: true

Size: 600 Bytes

Versions: 51

Compression:

Stored size: 600 Bytes

Contents

= 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

Version data entries

51 entries across 51 versions & 3 rubygems

Version Path
sbfaulkner-sinatra-markaby-0.9.2.1 README.rdoc
sbfaulkner-sinatra-markaby-0.9.2.2 README.rdoc
sbfaulkner-sinatra-markaby-0.9.2 README.rdoc
tdreyno-middleman-0.2.4 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.2.5 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.2.6 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.2.7 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.2.8 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.2.9 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.3.0 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.3.1 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.3.10 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.3.2 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.3.3 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.3.4 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.3.7 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.3.8 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.4.1 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.5.0 vendor/sinatra-markaby/README.rdoc
tdreyno-middleman-0.5.2 vendor/sinatra-markaby/README.rdoc