instance method attachable_markdown_representation

Ruby on Rails edge

Since edge

Signature

attachable_markdown_representation(caption, attachment_links: false)

No documentation comment.

Parameters

caption req
attachment_links key = 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

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close