Class: Diaspora::Markdownify::HTML

Inherits:
Redcarpet::Render::HTML
  • Object
show all
Includes:
ActionView::Helpers::TextHelper
Defined in:
lib/diaspora/markdownify/html.rb

Instance Method Summary collapse

Instance Method Details


6
7
8
# File 'lib/diaspora/markdownify/html.rb', line 6

def autolink link, type
  auto_link(link, link: :urls, html: { target: "_blank" })
end