Sha256: 54d6356105746f2486ab6683102c7e0ed3ba165b4480427df47bb7d37f7eb9cb
Contents?: true
Size: 461 Bytes
Versions: 42
Compression:
Stored size: 461 Bytes
Contents
module Nanoc::Filters # @api private class Maruku < Nanoc::Filter requires 'maruku' # Runs the content through [Maruku](https://github.com/bhollis/maruku/). # Parameters passed to this filter will be passed on to Maruku. # # @param [String] content The content to filter # # @return [String] The filtered content def run(content, params = {}) # Get result ::Maruku.new(content, params).to_html end end end
Version data entries
42 entries across 42 versions & 1 rubygems