class Redcarpet::Render::StripDown

Thanks to @toupeira (Markus Koller)
Markdown-stripping renderer. Turns Markdown into plaintext

def header(text, header_level)

def header(text, header_level)
  text + "\n"
end

def image(link, title, content)

def image(link, title, content)
  content &&= content + " "
  "#{content}#{link}"
end

def link(link, title, content)

Other methods where the text content is in another argument
def link(link, title, content)
  content
end

def paragraph(text)

def paragraph(text)
  text + "\n"
end