class Nopoint::Slide
Attributes
comment[RW]
content[RW]
Public Class Methods
new(source)
click to toggle source
# File lib/nopoint/slide.rb, line 7 def initialize(source) notes = /\/\/ .*/ @comments = source.match(notes) markdown = source.sub(notes, '') @content = Kramdown::Document.new(markdown).to_html end