module MarkdownConversion

Ruby on Rails edge

Since edge

Action Text Markdown Conversion

Converts an HTML fragment into a Markdown string. Used by ActionText::Content#to_markdown and ActionText::Fragment#to_markdown to produce Markdown representations of rich text.

Example: <h1>Release Notes</h1> => # Release Notes, a markdown heading.

Note that this converter escapes text nodes so it won’t render as markdown.

Example: <p># Release Notes</p> => \# Release Notes, not a heading.

Constants

Methods (defined here)

Private methods (45)

Show private methods Implementation detail — not part of the public API.

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