Sha256: 84de0febd1492532bac1b376b823194c16e702da78bcdb2ae9a05b7cd4787c8c
Contents?: true
Size: 502 Bytes
Versions: 90
Compression:
Stored size: 502 Bytes
Contents
# frozen_string_literal: true module Nanoc::Filters # @api private class Markaby < Nanoc::Filter identifier :markaby 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
90 entries across 90 versions & 1 rubygems