class Octodown::Renderer::Raw
Attributes
content[R]
Public Class Methods
new(markdown, options)
click to toggle source
# File lib/octodown/renderer/raw.rb, line 12 def initialize(markdown, options) @content = HTML.render markdown, options end
Public Instance Methods
present()
click to toggle source
# File lib/octodown/renderer/raw.rb, line 16 def present STDOUT.puts content end