Sha256: a878fd7c98c366d8c71d583a4f2e61947a84e72bd915efa2d45876d9f89268df
Contents?: true
Size: 451 Bytes
Versions: 8
Compression:
Stored size: 451 Bytes
Contents
# encoding: utf-8 module Nanoc::Filters class Markaby < Nanoc::Filter requires 'markaby' # Runs the content through [Markaby](http://markaby.rubyforge.org/). # This method takes no options. # # @param [String] content The content to filter # # @return [String] The filtered content def run(content, params={}) # Get result ::Markaby::Builder.new(assigns).instance_eval(content).to_s end end end
Version data entries
8 entries across 8 versions & 1 rubygems