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



5
6
7
# File 'app/helpers/spotlight/rendering_helper.rb', line 5

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