Render markdown like Github


page.rb
GitHub::Markdown.render_gfm("markdown content is here").html_safe
Gemfile.rb
gem 'redcarpet'
gem 'github-markdown', require: 'github/markdown'

Share This Post