Module: Spotlight::RenderingHelper

Included in:
BrowseHelper, PagesHelper
Defined in:
app/helpers/spotlight/rendering_helper.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#render_markdown(text) ⇒ Object



3
4
5
# File 'app/helpers/spotlight/rendering_helper.rb', line 3

def render_markdown(text)
  GitHub::Markup.render('.md', text).html_safe
end