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-2.3.0 lib/slideshow/markup/rest.rb
slideshow-2.2.0 lib/slideshow/markup/rest.rb
slideshow-2.1.0 lib/slideshow/markup/rest.rb
slideshow-2.0.1 lib/slideshow/markup/rest.rb
slideshow-2.0.0 lib/slideshow/markup/rest.rb
slideshow-1.2.5 lib/slideshow/markup/rest.rb
slideshow-1.2.4 lib/slideshow/markup/rest.rb
slideshow-1.2.3 lib/slideshow/markup/rest.rb
slideshow-1.2.2 lib/slideshow/markup/rest.rb
slideshow-1.2.1 lib/slideshow/markup/rest.rb
slideshow-1.2.0 lib/slideshow/markup/rest.rb
slideshow-1.2.0.beta5 lib/slideshow/markup/rest.rb
slideshow-1.2.0.beta4 lib/slideshow/markup/rest.rb
slideshow-1.2.0.beta3 lib/slideshow/markup/rest.rb
slideshow-1.2.0.beta2 lib/slideshow/markup/rest.rb
slideshow-1.2.0.beta1 lib/slideshow/markup/rest.rb
slideshow-1.1.0 lib/slideshow/markup/rest.rb
slideshow-1.1.0.beta8 lib/slideshow/markup/rest.rb
slideshow-1.1.0.beta7 lib/slideshow/markup/rest.rb
slideshow-1.1.0.beta6 lib/slideshow/markup/rest.rb