Sha256: 85f383ea7b4c73d86ca19e59ba98a04935ac7a476d9e25415afd6d44daa22a8a
Contents?: true
Size: 457 Bytes
Versions: 8
Compression:
Stored size: 457 Bytes
Contents
# encoding: utf-8 module Nanoc::Filters class Maruku < Nanoc::Filter requires 'maruku' # Runs the content through [Maruku](http://maruku.rubyforge.org/). # 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
8 entries across 8 versions & 1 rubygems