class Literati::MarkdownRenderer::GitHubWrapper
Public Class Methods
new(content)
click to toggle source
# File lib/literati.rb, line 16 def initialize(content) @content = content end
Public Instance Methods
to_html()
click to toggle source
# File lib/literati.rb, line 20 def to_html GitHub::Markdown.render(@content) end