Sha256: 00dcb95cd1b85645de98e96259b0e765bf7e0e3894fc36ad5b758657ebd13c02

Contents?: true

Size: 317 Bytes

Versions: 1

Compression:

Stored size: 317 Bytes

Contents

require 'haml'

module Haml::Filters

  remove_filter("Markdown") #remove the existing Markdown filter

  module Markdown # the contents of this are as before, but without the lazy_require call

    include Haml::Filters::Base

    def render text
      Locomotive::Steam::Markdown.new.render text
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
locomotivecms_steam-0.1.1 lib/locomotive/steam/monkey_patches/haml.rb