Sha256: 09a6e32817ffa9a763e69939368da9cec2ed43db8e644ba010c4994ede9647fd
Contents?: true
Size: 465 Bytes
Versions: 4
Compression:
Stored size: 465 Bytes
Contents
# encoding: utf-8 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nanoc-4.0.0b2 | lib/nanoc/filters/markaby.rb |
nanoc-4.0.0b1 | lib/nanoc/filters/markaby.rb |
nanoc-4.0.0a2 | lib/nanoc/filters/markaby.rb |
nanoc-4.0.0a1 | lib/nanoc/filters/markaby.rb |