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