Parent

Methods

Class/Module Index [+]

Quicksearch

Nanoc::Filters::Pandoc

Public Instance Methods

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

Runs the content through [Pandoc](johnmacfarlane.net/pandoc/) using [PandocRuby](github.com/alphabetum/pandoc-ruby). Options are passed on to PandocRuby.

@param [String] content The content to filter

@return [String] The filtered content

# File lib/nanoc/filters/pandoc.rb, line 14
def run(content, params={})
  PandocRuby.convert(content, params)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.