Sha256: a72ae232d2342b682754a65b48a8ea9834486425cb2535b5e2b30496f8b5b3eb

Contents?: true

Size: 459 Bytes

Versions: 20

Compression:

Stored size: 459 Bytes

Contents

module Nanoc::Filters
  # @api private
  class Typogruby < Nanoc::Filter
    identifier :typogruby

    requires 'typogruby'

    # Runs the content through [Typogruby](http://avdgaag.github.com/typogruby/).
    # This method takes no options.
    #
    # @param [String] content The content to filter
    #
    # @return [String] The filtered content
    def run(content, _params = {})
      # Get result
      ::Typogruby.improve(content)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
nanoc-4.7.9 lib/nanoc/filters/typogruby.rb
nanoc-4.7.8 lib/nanoc/filters/typogruby.rb
nanoc-4.7.7 lib/nanoc/filters/typogruby.rb
nanoc-4.7.6 lib/nanoc/filters/typogruby.rb
nanoc-4.7.5 lib/nanoc/filters/typogruby.rb
nanoc-4.7.4 lib/nanoc/filters/typogruby.rb
nanoc-4.7.3 lib/nanoc/filters/typogruby.rb
nanoc-4.7.2 lib/nanoc/filters/typogruby.rb
nanoc-4.7.1 lib/nanoc/filters/typogruby.rb
nanoc-4.7.0 lib/nanoc/filters/typogruby.rb
nanoc-4.6.4 lib/nanoc/filters/typogruby.rb
nanoc-4.6.3 lib/nanoc/filters/typogruby.rb
nanoc-4.6.2 lib/nanoc/filters/typogruby.rb
nanoc-4.6.1 lib/nanoc/filters/typogruby.rb
nanoc-4.6.0 lib/nanoc/filters/typogruby.rb
nanoc-4.5.4 lib/nanoc/filters/typogruby.rb
nanoc-4.5.3 lib/nanoc/filters/typogruby.rb
nanoc-4.5.2 lib/nanoc/filters/typogruby.rb
nanoc-4.5.1 lib/nanoc/filters/typogruby.rb
nanoc-4.5.0 lib/nanoc/filters/typogruby.rb