Sha256: 496d0d8834f699b0a8a938edebc1fcfc483b16138b6566bb6dfe4a99904043a2

Contents?: true

Size: 233 Bytes

Versions: 1

Compression:

Stored size: 233 Bytes

Contents

module Nanoc2::Filters
  class Markaby < Nanoc2::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

1 entries across 1 versions & 1 rubygems

Version Path
nanoc2-2.2.3 lib/nanoc2/filters/markaby.rb