Sha256: 898c59d927fed9129f5626a116830595a095c4d5b2f58422d2283e86d533a9bb
Contents?: true
Size: 431 Bytes
Versions: 9
Compression:
Stored size: 431 Bytes
Contents
require 'text_filter_plugin' require 'RedCloth' class PublifyApp class Textfilter class Textile < TextFilterPlugin::Markup plugin_display_name 'Textile' plugin_description 'Textile markup language' def self.help_text %{ See [_why's Textile reference](http://hobix.com/textile/). } end def self.filtertext(text) RedCloth.new(text).to_html(:textile) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems