Sha256: 618fdb62e1acdc085d5ef455589785772075848a104e88aa329d93b57d784b7a
Contents?: true
Size: 485 Bytes
Versions: 20
Compression:
Stored size: 485 Bytes
Contents
module Nanoc::Filters # @api private class Maruku < Nanoc::Filter identifier :maruku 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
20 entries across 20 versions & 1 rubygems