Methods

Class/Module Index [+]

Quicksearch

Nanoc3::Filters::Markaby

Public Instance Methods

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

Runs the content through [Markaby](markaby.rubyforge.org/). This method takes no options.

@param [String] content The content to filter

@return [String] The filtered content

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

  # Get result
  ::Markaby::Builder.new(assigns).instance_eval(content).to_s
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.