Sha256: 6e469bf50d457ca346a6d71c8a320fd872c1a7f27670cf3b2310934c8a544945
Contents?: true
Size: 454 Bytes
Versions: 16
Compression:
Stored size: 454 Bytes
Contents
# encoding: utf-8 module Nanoc3::Filters class Markaby < Nanoc3::Filter # 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={}) require 'markaby' # Get result ::Markaby::Builder.new(assigns).instance_eval(content).to_s end end end
Version data entries
16 entries across 16 versions & 1 rubygems