Sha256: 9c09c9a76007c329c690b04c2aff3be1eccc527005b0ee542b143192b3dfa2c0
Contents?: true
Size: 480 Bytes
Versions: 4
Compression:
Stored size: 480 Bytes
Contents
# encoding: utf-8 module Nanoc::Filters # @api private class Maruku < Nanoc::Filter requires 'maruku' # Runs the content through [Maruku](https://github.com/bhollis/maruku/). # 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nanoc-4.0.0b2 | lib/nanoc/filters/maruku.rb |
nanoc-4.0.0b1 | lib/nanoc/filters/maruku.rb |
nanoc-4.0.0a2 | lib/nanoc/filters/maruku.rb |
nanoc-4.0.0a1 | lib/nanoc/filters/maruku.rb |