Sha256: ceaa338b6cd9a5ae8abcd6571cf30dcb3425d010897cfa44b6dfde50fbf8e6d6

Contents?: true

Size: 211 Bytes

Versions: 14

Compression:

Stored size: 211 Bytes

Contents

# encoding: utf-8

module Nanoc3::Filters
  class RedCloth < Nanoc3::Filter

    def run(content, params={})
      require 'redcloth'

      # Get result
      ::RedCloth.new(content).to_html
    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
nanoc3-3.1.0b1 lib/nanoc3/filters/redcloth.rb
nanoc3-3.1.0a3 lib/nanoc3/filters/redcloth.rb
nanoc3-3.0.9 lib/nanoc3/filters/redcloth.rb
nanoc3-3.0.8 lib/nanoc3/filters/redcloth.rb
nanoc3-3.1.0a2 lib/nanoc3/filters/redcloth.rb
nanoc3-3.1.0a1 lib/nanoc3/filters/redcloth.rb
nanoc3-3.0.7 lib/nanoc3/filters/redcloth.rb
nanoc3-3.0.6 lib/nanoc3/filters/redcloth.rb
nanoc3-3.0.5 lib/nanoc3/filters/redcloth.rb
nanoc3-3.0.4 lib/nanoc3/filters/redcloth.rb
nanoc3-3.0.3 lib/nanoc3/filters/redcloth.rb
nanoc3-3.0.2 lib/nanoc3/filters/redcloth.rb
nanoc3-3.0.1 lib/nanoc3/filters/redcloth.rb
nanoc3-3.0.0 lib/nanoc3/filters/redcloth.rb