require "haml" require "coffee-filter" module Middleman module Renderers module Haml class << self def registered(app) app.helpers Middleman::Renderers::Haml::Helpers end alias :included :registered end module Helpers def haml_partial(name, options = {}) partial(name, options) end end module Table include ::Haml::Filters::Base def render(text) output = '
#{col} | } end output << "