Sha256: dc029c1f87cbd3666c845c32b2e791a4f367d5a85a9cacb1e859f880c037212d

Contents?: true

Size: 193 Bytes

Versions: 1

Compression:

Stored size: 193 Bytes

Contents

module Nanoc2::Filters
  class BlueCloth < Nanoc2::Filter

    identifiers :bluecloth

    def run(content)
      require 'bluecloth'

      ::BlueCloth.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/bluecloth.rb