diff --git a/lib/github/markup/markdown.rb b/lib/github/markup/markdown.rb index 7952bd3b..a1f2095d 100644 --- a/lib/github/markup/markdown.rb +++ b/lib/github/markup/markdown.rb @@ -13,7 +13,7 @@ class Markdown < Implementation GitHub::Markdown.render(content) }, "redcarpet" => proc { |content, options: {}| - Redcarpet::Markdown.new(Redcarpet::Render::HTML).render(content) + Redcarpet::Markdown.new(Redcarpet::Render::HTML.new(options), fenced_code_blocks: true).render(content) }, "rdiscount" => proc { |content, options: {}| RDiscount.new(content).to_html