class Milestoner::Renderers::Markdown
Renders Markdown
as HTML.
Constants
- CLIENT
Public Class Methods
new(client: CLIENT)
click to toggle source
# File lib/milestoner/renderers/markdown.rb, line 25 def initialize client: CLIENT @client = client end
Public Instance Methods
call(content)
click to toggle source
# File lib/milestoner/renderers/markdown.rb, line 29 def call(content) = client.render content private attr_reader :client end