Sha256: 327b04bad0b2a8a12a682a1e01f40b439af10f96c40fad3b5b556dd37d22bacf

Contents?: true

Size: 334 Bytes

Versions: 8

Compression:

Stored size: 334 Bytes

Contents

require 'faml/filter_compilers/tilt_base'

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

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

    register(:markdown, Markdown)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
faml-0.2.14 lib/faml/filter_compilers/markdown.rb
faml-0.2.13 lib/faml/filter_compilers/markdown.rb
faml-0.2.12 lib/faml/filter_compilers/markdown.rb
faml-0.2.11 lib/faml/filter_compilers/markdown.rb
faml-0.2.10 lib/faml/filter_compilers/markdown.rb
faml-0.2.9 lib/faml/filter_compilers/markdown.rb
faml-0.2.8 lib/faml/filter_compilers/markdown.rb
faml-0.2.7 lib/faml/filter_compilers/markdown.rb