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