Methods

Class/Module Index [+]

Quicksearch

Nanoc3::Filters::RedCloth

Public Instance Methods

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

Runs the content through [RedCloth](redcloth.org/). This method takes no options.

@param [String] content The content to filter

@return [String] The filtered content

# File lib/nanoc3/filters/redcloth.rb, line 11
def run(content, params={})
  require 'redcloth'

  # Get result
  ::RedCloth.new(content).to_html
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.