Sha256: 018b03e5f5f0d45ef0bacf78afd53b4c11642826c7044a441291b953678a226b

Contents?: true

Size: 242 Bytes

Versions: 4

Compression:

Stored size: 242 Bytes

Contents

module Jekyll
  class MarkdownBlock < Liquid::Block
    include Liquid::StandardFilters
    def render(context)
      Maruku.new(super(context).join).to_html
    end
  end
end

Liquid::Template.register_tag('markdown', Jekyll::MarkdownBlock)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jsjohnst-jekyll-0.4.1.999.2 lib/jekyll/tags/markdown.rb
jsjohnst-jekyll-0.4.1.999.3 lib/jekyll/tags/markdown.rb
jsjohnst-jekyll-0.4.1.999.4 lib/jekyll/tags/markdown.rb
jsjohnst-jekyll-0.4.1.999.6 lib/jekyll/tags/markdown.rb