class Tilt::CommonMarkerTemplate

Public Instance Methods

allows_script?() click to toggle source
   # File lib/tilt/commonmarker.rb
17 def allows_script?
18   false
19 end
evaluate(scope, locals, &block) click to toggle source
   # File lib/tilt/commonmarker.rb
13 def evaluate(scope, locals, &block)
14   CommonMarker.render_html(data, :DEFAULT)
15 end
prepare() click to toggle source
   # File lib/tilt/commonmarker.rb
 8 def prepare
 9   @engine = nil
10   @output = nil
11 end