Sha256: 5cd59e7721bcc3bce3d952c51b8b993a826a3dda393cba6fcc6bad2dd4faf740
Contents?: true
Size: 423 Bytes
Versions: 16
Compression:
Stored size: 423 Bytes
Contents
# encoding: utf-8 module Nanoc3::Filters class BlueCloth < Nanoc3::Filter # 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={}) require 'bluecloth' ::BlueCloth.new(content).to_html end end end
Version data entries
16 entries across 16 versions & 1 rubygems