Parent

Methods

Class/Module Index [+]

Quicksearch

Nanoc::Filters::Maruku

Public Instance Methods

run(content, params={}) click to toggle source

Runs the content through [Maruku](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

# File lib/nanoc/filters/maruku.rb, line 13
def run(content, params={})
  # Get result
  ::Maruku.new(content, params).to_html
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.