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