Sha256: d887e91027788167ec27b0b0c42392ce95565b59f6949e4c9e09e73ba2510ef4

Contents?: true

Size: 232 Bytes

Versions: 2

Compression:

Stored size: 232 Bytes

Contents

# encoding: utf-8

require 'typohero'

module Nanoc
  module TypoHero
    class Filter < Nanoc::Filter
      identifier :typohero

      def run(content, _params = {})
        ::TypoHero.enhance(content)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nanoc-typohero-1.0.1 lib/nanoc/typohero/filter.rb
nanoc-typohero-1.0.0 lib/nanoc/typohero/filter.rb