instance method
to_markdown
Ruby on Rails edge
Since edgeSignature
to_markdown()
NOTE: this does not canonicalize, so it is not safe for untrusted content. See the note on ActionText::MarkdownConversion.node_to_markdown.
Source
# File actiontext/lib/action_text/fragment.rb, line 56
def to_markdown
@markdown ||= MarkdownConversion.node_to_markdown(source)
end
Defined in actiontext/lib/action_text/fragment.rb line 56
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Fragment