Sha256: d95761eb0df2193376b2c665c1e22c3a8ca5e7118b76446d83e6c5e35e6a256f

Contents?: true

Size: 390 Bytes

Versions: 36

Compression:

Stored size: 390 Bytes

Contents

require 'pandoc-ruby'

module Slideshow
  module RestEngines  # reStructuredText

  def rest_to_html( content )
    puts "  Converting reStructuredText (#{content.length} bytes) to HTML..."

    content = PandocRuby.new( content, :from => :rst, :to => :html ).convert
  end
    
end   # module RestEngines
end # module Slideshow

class Slideshow::Gen
  include Slideshow::RestEngines
end  

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
slideshow-1.1.0.beta5 lib/slideshow/markup/rest.rb
slideshow-1.1.0.beta4 lib/slideshow/markup/rest.rb
slideshow-1.1.0.beta3 lib/slideshow/markup/rest.rb
slideshow-1.1.0.beta2 lib/slideshow/markup/rest.rb
slideshow-1.1.0.beta1 lib/slideshow/markup/rest.rb
slideshow-1.0.5 lib/slideshow/markup/rest.rb
slideshow-1.0.4 lib/slideshow/markup/rest.rb
slideshow-1.0.3 lib/slideshow/markup/rest.rb
slideshow-1.0.2 lib/slideshow/markup/rest.rb
slideshow-1.0.1 lib/slideshow/markup/rest.rb
slideshow-1.0.0 lib/slideshow/markup/rest.rb
slideshow-0.9.11 lib/slideshow/markup/rest.rb
slideshow-0.9.10 lib/slideshow/markup/rest.rb
slideshow-0.9.9 lib/slideshow/markup/rest.rb
slideshow-0.9.8 lib/slideshow/markup/rest.rb
slideshow-0.9.7 lib/slideshow/markup/rest.rb