asciinema.org/config/initializers/markdown.rb
2012-07-25 23:01:01 +02:00

12 lines
294 B
Ruby

MKD_SAFE_RENDERER = Redcarpet::Markdown.new(
Redcarpet::Render::HTML.new(:filter_html => true, :hard_wrap => true),
:no_intra_emphasis => true,
:autolink => true
)
MKD_RENDERER = Redcarpet::Markdown.new(
Redcarpet::Render::HTML.new,
:no_intra_emphasis => true,
:autolink => true
)