class Formdown::Renderer

Public Class Methods

new(content) click to toggle source
# File lib/formdown/renderer.rb, line 7
def initialize(content)
  @document = ::Kramdown::Document.new(content, input: 'Formdown')
end

Public Instance Methods

to_html() click to toggle source
# File lib/formdown/renderer.rb, line 11
def to_html
  @document.to_html
end