Sha256: 25b0acf0dc247754ac32eb695c802e88a1286990370dfb49758188449c520193

Contents?: true

Size: 193 Bytes

Versions: 1

Compression:

Stored size: 193 Bytes

Contents

module Nanoc2::Filters
  class RDiscount < Nanoc2::Filter

    identifiers :rdiscount

    def run(content)
      require 'rdiscount'

      ::RDiscount.new(content).to_html
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nanoc2-2.2.3 lib/nanoc2/filters/rdiscount.rb