Sha256: 5219ff556c6fbc50a4e501c40c0ae1a54089bf0aabb8d4a460cb4d49d50fd952

Contents?: true

Size: 182 Bytes

Versions: 76

Compression:

Stored size: 182 Bytes

Contents

# frozen_string_literal: true

module Spotlight
  module RenderingHelper # :nodoc:
    def render_markdown(text)
      GitHub::Markup.render('.md', text).html_safe
    end
  end
end

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
blacklight-spotlight-4.3.6 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.3.5 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.3.4 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.3.3 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.3.2 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.3.1 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.3.0 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.2.0 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.1.2 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.1.1 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.1.0 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.0.3 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.0.2 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.0.1 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-4.0.0 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-3.6.0.beta10 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-3.6.0.beta9 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-3.6.0.beta8 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-3.5.0.4 app/helpers/spotlight/rendering_helper.rb
blacklight-spotlight-3.6.0.beta7 app/helpers/spotlight/rendering_helper.rb