Sha256: a544c4c41e69e83acfecde4b2704775a8b66ee5114b894d90dd9375dd2a53bb7
Contents?: true
Size: 314 Bytes
Versions: 12
Compression:
Stored size: 314 Bytes
Contents
module Webgen::ContentProcessor # Processes content in Textile format using the +redcloth+ library. class RedCloth # Convert the content in +context+ to HTML. def call(context) require 'redcloth' context.content = ::RedCloth.new(context.content).to_html context end end end
Version data entries
12 entries across 12 versions & 2 rubygems