Sha256: 7d5014d7b651e8e22946c34e255e9bae240e5a301105f50dab45d0a041898143
Contents?: true
Size: 419 Bytes
Versions: 42
Compression:
Stored size: 419 Bytes
Contents
module Nanoc::Filters # @api private class BlueCloth < Nanoc::Filter requires 'bluecloth' # Runs the content through [BlueCloth](http://deveiate.org/projects/BlueCloth). # This method takes no options. # # @param [String] content The content to filter # # @return [String] The filtered content def run(content, _params = {}) ::BlueCloth.new(content).to_html end end end
Version data entries
42 entries across 42 versions & 1 rubygems
Version | Path |
---|---|
nanoc-4.0.0b4 | lib/nanoc/filters/bluecloth.rb |
nanoc-4.0.0b3 | lib/nanoc/filters/bluecloth.rb |