instance method to_markdown

Ruby on Rails edge

Since edge

Signature

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

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