instance method
attachable_markdown_representation
Ruby on Rails edge
Since edgeSignature
attachable_markdown_representation(caption, attachment_links: false)
No documentation comment.
Parameters
-
captionreq -
attachment_linkskey = false
Source
# File actiontext/lib/action_text/attachables/remote_image.rb, line 47
def attachable_markdown_representation(caption, attachment_links: false)
MarkdownConversion.markdown_link(caption || "Image", url, image: true)
end
Defined in actiontext/lib/action_text/attachables/remote_image.rb line 47
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Attachables::RemoteImage