Sha256: 8c43cdb2238998f08f5a86ef0fbe21dfaccabce2802d1db9df601eca98a6ad35
Contents?: true
Size: 499 Bytes
Versions: 2
Compression:
Stored size: 499 Bytes
Contents
# encoding: utf-8 module Slideshow module MarkdownEngines ## note: code moved to its own gem, that is, markdown ## see https://github.com/geraldb/markdown 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 end # module MarkdownEngines end # module Slideshow class Slideshow::Gen include Slideshow::MarkdownEngines end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slideshow-models-2.5.0 | lib/slideshow/markup/markdown.rb |
slideshow-models-2.4.0 | lib/slideshow/markup/markdown.rb |