Sha256: 5643d255d3107caaefdb14ae39e17884352611fbbb9eb8bf3a050c5bf3561700

Contents?: true

Size: 206 Bytes

Versions: 10

Compression:

Stored size: 206 Bytes

Contents

module Nanoc::Filters
  class RedCloth < Nanoc::Filter

    identifiers :redcloth

    def run(content)
      require 'redcloth'

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

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
nanoc-2.1 lib/nanoc/filters/redcloth.rb
nanoc-2.1.1 lib/nanoc/filters/redcloth.rb
nanoc-2.1.2 lib/nanoc/filters/redcloth.rb
nanoc-2.1.3 lib/nanoc/filters/redcloth.rb
nanoc-2.1.4 lib/nanoc/filters/redcloth.rb
nanoc-2.1.5 lib/nanoc/filters/redcloth.rb
nanoc-2.1.6 lib/nanoc/filters/redcloth.rb
nanoc-2.2 lib/nanoc/filters/redcloth.rb
nanoc-2.2.1 lib/nanoc/filters/redcloth.rb
nanoc-2.2.2 lib/nanoc/filters/redcloth.rb