Sha256: ceb2461630b10b07445dd5fec55c6b408184846ba45bf17b6ada68986a2d9459
Contents?: true
Size: 454 Bytes
Versions: 8
Compression:
Stored size: 454 Bytes
Contents
# encoding: utf-8 require 'maruku' module Nanoc3::Filters class Maruku < Nanoc3::Filter # 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