class Smarky::Markdown::Redcarpet
Public Class Methods
new()
click to toggle source
# File lib/smarky/markdown/redcarpet.rb, line 6 def initialize @markdown = ::Redcarpet::Markdown.new(::Redcarpet::Render::HTML) end
Public Instance Methods
render(markdown)
click to toggle source
# File lib/smarky/markdown/redcarpet.rb, line 10 def render(markdown) @markdown.render(markdown) end