Sha256: 481080dd8a8020b171f65b933ea56093e8d71a69b4103fdd907f23065d28dca1

Contents?: true

Size: 231 Bytes

Versions: 3

Compression:

Stored size: 231 Bytes

Contents

module Nanoc::Filters
  class Markaby < Nanoc::Filter

    identifiers :markaby

    def run(content)
      require 'markaby'

      # Get result
      ::Markaby::Builder.new(assigns).instance_eval(content).to_s
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nanoc-2.2 lib/nanoc/filters/markaby.rb
nanoc-2.2.1 lib/nanoc/filters/markaby.rb
nanoc-2.2.2 lib/nanoc/filters/markaby.rb