Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sinatra plugin to enable markaby (.mab) template rendering
Ruby
Branch: master

test layout support (it works)

latest commit 654e41735f
S. Brent Faulkner authored
Failed to load latest commit information.
lib/sinatra options not used yet
test
.gitignore
CHANGES test layout support (it works)
LICENSE first version
README.rdoc whoops... missed one leftover from the copy paste of prawn readme
Rakefile update description
TODO test layout support (it works)
VERSION.yml
sinatra-markaby.gemspec test layout support (it works)

README.rdoc

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

  1. Brent Faulkner <brentf@unwwwired.net>

License

Copyright © 2009 unwwwired.net, released under the MIT license

Something went wrong with that request. Please try again.