Sha256: 01603cfdc25a137f1634b8c8194261862315b2ace80b799b119cb2bfa52de00f

Contents?: true

Size: 453 Bytes

Versions: 39

Compression:

Stored size: 453 Bytes

Contents

module Nanoc::Filters
  # @since 3.2.0
  #
  # @api private
  class Typogruby < Nanoc::Filter
    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

39 entries across 39 versions & 1 rubygems

Version Path
nanoc-4.2.0b1 lib/nanoc/filters/typogruby.rb
nanoc-4.1.5 lib/nanoc/filters/typogruby.rb
nanoc-4.1.4 lib/nanoc/filters/typogruby.rb
nanoc-4.1.3 lib/nanoc/filters/typogruby.rb
nanoc-4.1.2 lib/nanoc/filters/typogruby.rb
nanoc-4.1.1 lib/nanoc/filters/typogruby.rb
nanoc-4.1.0 lib/nanoc/filters/typogruby.rb
nanoc-4.1.0rc2 lib/nanoc/filters/typogruby.rb
nanoc-4.1.0rc1 lib/nanoc/filters/typogruby.rb
nanoc-4.1.0b1 lib/nanoc/filters/typogruby.rb
nanoc-4.1.0a1 lib/nanoc/filters/typogruby.rb
nanoc-4.0.2 lib/nanoc/filters/typogruby.rb
nanoc-4.0.1 lib/nanoc/filters/typogruby.rb
nanoc-4.0.0 lib/nanoc/filters/typogruby.rb
nanoc-4.0.0rc3 lib/nanoc/filters/typogruby.rb
nanoc-4.0.0rc2 lib/nanoc/filters/typogruby.rb
nanoc-4.0.0rc1 lib/nanoc/filters/typogruby.rb
nanoc-4.0.0b4 lib/nanoc/filters/typogruby.rb
nanoc-4.0.0b3 lib/nanoc/filters/typogruby.rb