class Prolog::Services::MarkdownToHtml::Renderer
Actually renders Markdown content as (non-compact) HTML.
Actually renders Markdown content as (non-compact) HTML.
Public Class Methods
new(content:)
click to toggle source
# File lib/prolog/services/markdown_to_html/renderer.rb, line 13 def initialize(content:) @rendered = HtmlPipelineConverter.render content end
Public Instance Methods
to_s()
click to toggle source
# File lib/prolog/services/markdown_to_html/renderer.rb, line 17 def to_s @rendered end
Also aliased as: to_str