class Parade::Renderers::HTMLWithRouge
Public Class Methods
render(content)
click to toggle source
# File lib/parade/renderers/html_with_rouge.rb, line 10 def self.render(content) markdown = Redcarpet::Markdown.new(Renderers::HTMLWithRouge, :fenced_code_blocks => true, :no_intra_emphasis => true, :autolink => true, :strikethrough => true, :lax_html_blocks => true, :superscript => true, :hard_wrap => true, :tables => true, :xhtml => true) markdown.render(content) end