Sha256: 775d195020bb80377e8a3728be2a4f55bbe5946c9ba527549c025e8f134e86c2

Contents?: true

Size: 287 Bytes

Versions: 7

Compression:

Stored size: 287 Bytes

Contents

class Plugins::Textfilters::TextileAndMarkdownController < TextFilterPlugin::Markup
  plugin_display_name "Textile with Markdown"
  plugin_description 'Textile and Markdown markup languages'

  def self.filtertext(controller,content,text,params)
    RedCloth.new(text).to_html
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
typo-3.99.3 components/plugins/textfilters/textile_and_markdown_controller.rb
typo-3.99.2 components/plugins/textfilters/textile_and_markdown_controller.rb
typo-4.0.0 components/plugins/textfilters/textile_and_markdown_controller.rb
typo-4.0.2 components/plugins/textfilters/textile_and_markdown_controller.rb
typo-4.0.1 components/plugins/textfilters/textile_and_markdown_controller.rb
typo-3.99.4 components/plugins/textfilters/textile_and_markdown_controller.rb
typo-4.0.3 components/plugins/textfilters/textile_and_markdown_controller.rb