Sha256: ccd5e3edcf65d2f79c3e5d18c7511f82db0dbe95ebb597205ee67864c0347663

Contents?: true

Size: 239 Bytes

Versions: 8

Compression:

Stored size: 239 Bytes

Contents

require 'redcloth'

module RhetButler
  module SlideRenderers
    class Textile < SlideRenderer
      register "textile"
      register "texttile"

      def process(string)
        RedCloth.new(string).to_html
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rhet-butler-0.14.1 lib/rhet-butler/slide-renderers/textile.rb
rhet-butler-0.14.0 lib/rhet-butler/slide-renderers/textile.rb
rhet-butler-0.13.0 lib/rhet-butler/slide-renderers/textile.rb
rhet-butler-0.12.1 lib/rhet-butler/slide-renderers/textile.rb
rhet-butler-0.11.1 lib/rhet-butler/slide-renderers/textile.rb
rhet-butler-0.11.0 lib/rhet-butler/slide-renderers/textile.rb
rhet-butler-0.10.0 lib/rhet-butler/slide-renderers/textile.rb
rhet-butler-0.9.0 lib/rhet-butler/slide-renderers/textile.rb