Sha256: 785929f7dfb1c1b5ec618c43d0fc05a0d100f484b7b571fd1c9f76279061abcb

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

require 'fast_haml/filter_compilers/tilt_base'

module FastHaml
  module FilterCompilers
    class Markdown < TiltBase
      def need_newline?
        false
      end

      def compile(texts)
        temple = [:multi, [:newline]]
        compile_with_tilt(temple, 'markdown', texts)
      end
    end

    register(:markdown, Markdown)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fast_haml-0.1.10 lib/fast_haml/filter_compilers/markdown.rb