module Haml::Filters::Markdown

def render(text)

def render(text)
  if @required == 'bluecloth'
    ::BlueCloth.new(text).to_html
  else
    ::RedCloth.new(text).to_html(:markdown)
  end
end