Merge branch 'markdown_link_target_feature'
This commit is contained in:
commit
2228a804cc
|
@ -3,4 +3,8 @@ require 'rouge/plugins/redcarpet'
|
|||
|
||||
class CodeHTML < Redcarpet::Render::HTML
|
||||
include Rouge::Plugins::Redcarpet
|
||||
|
||||
def initialize(extensions = {})
|
||||
super extensions.merge(link_attributes: { target: "_blank" })
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue