Class: Renderers::Markdown

Inherits:
Object
  • Object
show all
Defined in:
lib/httphere/markdown.rb

Class Method Summary collapse

Class Method Details

.render_content(content) ⇒ Object



3
4
5
6
7
# File 'lib/httphere/markdown.rb', line 3

def self.render_content(content)
  require 'rubygems'
  require 'bluecloth'
  BlueCloth.new(content).to_html
end