Class: PublifyApp::Textfilter::Textile
- Inherits:
-
TextFilterPlugin::Markup
- Object
- TextFilterPlugin
- TextFilterPlugin::Markup
- PublifyApp::Textfilter::Textile
- Defined in:
- lib/publify_textfilter_textile.rb
Class Method Summary collapse
Methods inherited from TextFilterPlugin::Markup
Methods inherited from TextFilterPlugin
available_filter_types, available_filters, component_name, config_value, default_config, default_helper_module!, filter_map, filter_type, inherited, logger, macro_filters, reloadable?, sanitize, short_name
Methods included from PublifyPlugins
#plugin_description, #plugin_display_name, #plugin_public_action, #plugin_public_actions
Class Method Details
.filtertext(text) ⇒ Object
18 19 20 21 |
# File 'lib/publify_textfilter_textile.rb', line 18 def self.filtertext(text) ActiveSupport::Deprecation.warn "Use of Textile is deprecated" RedCloth.new(text).to_html(:textile) end |
.help_text ⇒ Object
12 13 14 15 16 |
# File 'lib/publify_textfilter_textile.rb', line 12 def self.help_text %{ See [_why's Textile reference](http://hobix.com/textile/). } end |