Sha256: 95f4e1862ce24362dded2f87118bd4f9efbe57df0e8d7426203344aa35213986
Contents?: true
Size: 446 Bytes
Versions: 42
Compression:
Stored size: 446 Bytes
Contents
module Nanoc::Filters # @api private class Markaby < Nanoc::Filter requires 'markaby' # Runs the content through [Markaby](http://markaby.github.io/). # 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
42 entries across 42 versions & 1 rubygems