Retrospring/app/services/question_markdown.rb

10 lines
188 B
Ruby
Raw Normal View History

2021-12-30 08:59:44 -08:00
require 'uri'
class QuestionMarkdown < Redcarpet::Render::Base
include Rails.application.routes.url_helpers
include SharedMarkers
def paragraph(text)
"<p>#{text}</p>"
end
end