Sha256: 12f47e6bdcda09dd53f6b8952bde71bba7f5daa624ff40be8b8b0d8bfd9f5462
Contents?: true
Size: 451 Bytes
Versions: 2
Compression:
Stored size: 451 Bytes
Contents
# encoding: utf-8 module Nanoc::Filters # @since 3.2.0 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nanoc-3.8.0 | lib/nanoc/filters/typogruby.rb |
nanoc-3.7.5 | lib/nanoc/filters/typogruby.rb |