Module: Slideshow::MarkdownEngines

Included in:
Gen
Defined in:
lib/slideshow/markup/markdown.rb

Instance Method Summary collapse

Instance Method Details

#markdown_to_html(content) ⇒ Object

note: code moved to its own gem, that is, markdown see github.com/geraldb/markdown



7
8
9
10
11
# File 'lib/slideshow/markup/markdown.rb', line 7

def markdown_to_html( content )
  ##  puts "  Converting Markdown-text (#{content.length} bytes) to HTML using library '#{@markdown_libs.first}' calling '#{mn}'..."
  
  Markdown.new( content ).to_html
end