Sha256: 4f071389f65c568466f602f79cb896479439482a09208cccd1fcf0b45c196068
Contents?: true
Size: 546 Bytes
Versions: 11
Compression:
Stored size: 546 Bytes
Contents
# frozen_string_literal: true require "text_filter_plugin" require "RedCloth" class PublifyApp class Textfilter class Textile < TextFilterPlugin::Markup plugin_display_name "Textile (Deprecated)" plugin_description "Textile markup language" def self.help_text %{ See [_why's Textile reference](http://hobix.com/textile/). } end def self.filtertext(text) ActiveSupport::Deprecation.warn "Use of Textile is deprecated" RedCloth.new(text).to_html(:textile) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems