Sha256: 6572ac763000cdafc6bda0da36e4a54da4cc23d972578169138b758107df0aab
Contents?: true
Size: 421 Bytes
Versions: 2
Compression:
Stored size: 421 Bytes
Contents
# encoding: utf-8 module Nanoc::Filters 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nanoc-3.8.0 | lib/nanoc/filters/bluecloth.rb |
nanoc-3.7.5 | lib/nanoc/filters/bluecloth.rb |