Class: Homeland::Markup::Markdown
- Defined in:
- lib/homeland/markup/markdown.rb
Overview
Markdown format (github-markup)
Class Method Summary collapse
Class Method Details
.render(raw) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/homeland/markup/markdown.rb', line 6 def render(raw) begin require 'github/markup' rescue puts "Error: You need add `gem 'github-markup'` into you Gemfile." end GitHub::Markup.render('raw.md', raw) end |