Sha256: 312de496b919cee2d779f1f1067b261a96037113f6997e0735f26e1f8eb170bc

Contents?: true

Size: 212 Bytes

Versions: 10

Compression:

Stored size: 212 Bytes

Contents

module Nanoc::Filters
  class SmartyPants < Nanoc::Filter

    identifiers :rubypants

    def run(content)
      require 'rubypants'

      # Get result
      ::RubyPants.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/rubypants.rb
nanoc-2.1.1 lib/nanoc/filters/rubypants.rb
nanoc-2.1.2 lib/nanoc/filters/rubypants.rb
nanoc-2.1.3 lib/nanoc/filters/rubypants.rb
nanoc-2.1.4 lib/nanoc/filters/rubypants.rb
nanoc-2.1.5 lib/nanoc/filters/rubypants.rb
nanoc-2.1.6 lib/nanoc/filters/rubypants.rb
nanoc-2.2 lib/nanoc/filters/rubypants.rb
nanoc-2.2.1 lib/nanoc/filters/rubypants.rb
nanoc-2.2.2 lib/nanoc/filters/rubypants.rb