module ActionMailer::Markdown
Constants
- VERSION
Attributes
default_processor[RW]
Set markdown renderer
processor[RW]
Set markdown renderer
Public Class Methods
html(text)
click to toggle source
# File lib/action_mailer/markdown/renderer.rb, line 31 def self.html(text) processor.call(text) end
text(source)
click to toggle source
# File lib/action_mailer/markdown/renderer.rb, line 35 def self.text(source) Renderer::Text.extract(source) end